mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 17:19:27 +00:00
Merge branch 'master' of github.com:RobLoach/raylib-cpp into next
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user