mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 17:19:27 +00:00
Fix build
This commit is contained in:
@@ -37,7 +37,7 @@ class ModelAnimation : public ::ModelAnimation {
|
||||
* Load model animations from file
|
||||
*/
|
||||
static std::vector<ModelAnimation> Load(const std::string& fileName) {
|
||||
unsigned int count = 0;
|
||||
int count = 0;
|
||||
::ModelAnimation* modelAnimations = ::LoadModelAnimations(fileName.c_str(), &count);
|
||||
std::vector<ModelAnimation> mats(modelAnimations, modelAnimations + count);
|
||||
|
||||
|
||||
@@ -354,17 +354,6 @@ class Vector2 : public ::Vector2 {
|
||||
::DrawLineBezier(*this, endPos, thick, color);
|
||||
}
|
||||
|
||||
/**
|
||||
* Draw line using quadratic bezier curves with a control point.
|
||||
*/
|
||||
inline void DrawLineBezierQuad(
|
||||
::Vector2 endPos,
|
||||
::Vector2 controlPos,
|
||||
float thick,
|
||||
::Color color = {0, 0, 0, 255}) const {
|
||||
::DrawLineBezierQuad(*this, endPos, controlPos, thick, color);
|
||||
}
|
||||
|
||||
/**
|
||||
* Draw a color-filled circle (Vector version)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user