diff --git a/include/Camera2D.hpp b/include/Camera2D.hpp index ee8cd1f..b468c6b 100644 --- a/include/Camera2D.hpp +++ b/include/Camera2D.hpp @@ -48,7 +48,7 @@ public: Vector2 GetScreenToWorld(::Vector2 position) const { return ::GetScreenToWorld2D(position, *this); } /** - * Returns the screen space position for a 3d world space position + * Returns the screen space position for a 2d world space position */ Vector2 GetWorldToScreen(::Vector2 position) const { return ::GetWorldToScreen2D(position, *this); } protected: diff --git a/include/Color.hpp b/include/Color.hpp index 0f084d0..a1f7795 100644 --- a/include/Color.hpp +++ b/include/Color.hpp @@ -122,7 +122,7 @@ public: ::DrawLineBezier(startPos, endPos, thick, *this); } - void DrawLineStrip(::Vector2* points, int numPoints) const { ::DrawLineStrip(points, numPoints, *this); } + void DrawLineStrip(const ::Vector2* points, int numPoints) const { ::DrawLineStrip(points, numPoints, *this); } void DrawText(const char* text, int posX = 0, int posY = 0, int fontSize = 10.0f) const { ::DrawText(text, posX, posY, fontSize, *this);