Skip to content

Commit 948a2de

Browse files
committed
Merge branch 'master' of github.com:RobLoach/raylib-cpp into next
2 parents a63ee3f + 8ab70ae commit 948a2de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/Camera2D.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Camera2D : public ::Camera2D {
4848
Vector2 GetScreenToWorld(::Vector2 position) const { return ::GetScreenToWorld2D(position, *this); }
4949

5050
/**
51-
* Returns the screen space position for a 3d world space position
51+
* Returns the screen space position for a 2d world space position
5252
*/
5353
Vector2 GetWorldToScreen(::Vector2 position) const { return ::GetWorldToScreen2D(position, *this); }
5454
protected:

include/Color.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class Color : public ::Color {
122122
::DrawLineBezier(startPos, endPos, thick, *this);
123123
}
124124

125-
void DrawLineStrip(::Vector2* points, int numPoints) const { ::DrawLineStrip(points, numPoints, *this); }
125+
void DrawLineStrip(const ::Vector2* points, int numPoints) const { ::DrawLineStrip(points, numPoints, *this); }
126126

127127
void DrawText(const char* text, int posX = 0, int posY = 0, int fontSize = 10.0f) const {
128128
::DrawText(text, posX, posY, fontSize, *this);

0 commit comments

Comments
 (0)