mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 11:03:13 -05:00
parent
fd68bb2596
commit
da3776a40a
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ namespace Godot
|
|||
|
||||
public real_t AngleToPoint(Vector2 to)
|
||||
{
|
||||
return Mathf.Atan2(x - to.x, y - to.y);
|
||||
return Mathf.Atan2(y - to.y, x - to.x);
|
||||
}
|
||||
|
||||
public real_t Aspect()
|
||||
|
|
Loading…
Add table
Reference in a new issue