소스 검색

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

Carter Anderson 6 년 전
부모
커밋
22bf89e970
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/mono/glue/Managed/Files/Transform2D.cs

+ 1 - 1
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