summaryrefslogtreecommitdiff
path: root/modules/mono/glue/Managed/Files
diff options
context:
space:
mode:
authorCarter Anderson <mcanders1@gmail.com>2019-02-11 23:46:55 -0800
committerCarter Anderson <mcanders1@gmail.com>2019-02-11 23:46:55 -0800
commit22bf89e970911d26f0c27d09ece6862c40f4c120 (patch)
tree018f9289e7adf355da0b993fcfdebf08727196f6 /modules/mono/glue/Managed/Files
parentbe98a6ebbca95225b59570ed67fce962edfd23ec (diff)
Use "origin" instead of "o" in Transform2D.Rotation
Diffstat (limited to 'modules/mono/glue/Managed/Files')
-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