1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-07 17:36:07 +00:00

Use "origin" instead of "o" in Transform2D.Rotation

This commit is contained in:
Carter Anderson
2019-02-11 23:46:55 -08:00
parent be98a6ebbc
commit 22bf89e970

View File

@@ -17,7 +17,7 @@ namespace Godot
public real_t Rotation
{
get { return Mathf.Atan2(y.x, o.y); }
get { return Mathf.Atan2(y.x, origin.y); }
}
public Vector2 Scale