diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-02-12 09:21:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 09:21:13 +0100 |
commit | e133bd94f03c7af35af6b6d1fcfc348c46febaf7 (patch) | |
tree | 018f9289e7adf355da0b993fcfdebf08727196f6 | |
parent | be98a6ebbca95225b59570ed67fce962edfd23ec (diff) | |
parent | 22bf89e970911d26f0c27d09ece6862c40f4c120 (diff) |
Merge pull request #25813 from cart/o-no
Use "origin" instead of "o" in Transform2D.Rotation
-rw-r--r-- | modules/mono/glue/Managed/Files/Transform2D.cs | 2 |
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 |