mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-01 01:18:52 +00:00
Merge pull request #334 from realstealthninja/patch-1
docs: Camera2D mentions GetWorldToScreen() converts coordinates to 3d
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:
|
||||
|
||||
Reference in New Issue
Block a user