From 22bf89e970911d26f0c27d09ece6862c40f4c120 Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Mon, 11 Feb 2019 23:46:55 -0800 Subject: [PATCH] Use "origin" instead of "o" in Transform2D.Rotation --- modules/mono/glue/Managed/Files/Transform2D.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mono/glue/Managed/Files/Transform2D.cs b/modules/mono/glue/Managed/Files/Transform2D.cs index 8311cff8fb6..f89c99cff2a 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