From a8bf1908434f4fb932964bdf07ac91ac804df7ce Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 18 Nov 2023 12:41:21 -0600 Subject: [PATCH] Fix build --- include/ModelAnimation.hpp | 2 +- include/Vector2.hpp | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/include/ModelAnimation.hpp b/include/ModelAnimation.hpp index d90b6d6..ccc5a05 100644 --- a/include/ModelAnimation.hpp +++ b/include/ModelAnimation.hpp @@ -37,7 +37,7 @@ class ModelAnimation : public ::ModelAnimation { * Load model animations from file */ static std::vector Load(const std::string& fileName) { - unsigned int count = 0; + int count = 0; ::ModelAnimation* modelAnimations = ::LoadModelAnimations(fileName.c_str(), &count); std::vector mats(modelAnimations, modelAnimations + count); diff --git a/include/Vector2.hpp b/include/Vector2.hpp index 3085caf..182014b 100644 --- a/include/Vector2.hpp +++ b/include/Vector2.hpp @@ -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) */