Merge pull request #25813 from cart/o-no

Use "origin" instead of "o" in Transform2D.Rotation
This commit is contained in:
Rémi Verschelde 2019-02-12 09:21:13 +01:00 committed by GitHub
commit e133bd94f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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