summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/mono/glue/Managed/Files/Transform2D.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/Managed/Files/Transform2D.cs b/modules/mono/glue/Managed/Files/Transform2D.cs
index 8311cff8fb..f89c99cff2 100644
--- a/modules/mono/glue/Managed/Files/Transform2D.cs
+++ b/modules/mono/glue/Managed/Files/Transform2D.cs
@@ -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