Skip to content

Commit 8ab70ae

Browse files
authored
Merge pull request #334 from realstealthninja/patch-1
docs: Camera2D mentions GetWorldToScreen() converts coordinates to 3d
2 parents cfc8042 + 8da0fb0 commit 8ab70ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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:

0 commit comments

Comments
 (0)