TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ DirectionTo()

static Vector2 Terraria.Utils.DirectionTo ( this Vector2 Origin,
Vector2 Target )
inlinestatic

Definition at line 1823 of file Utils.cs.

1824 {
1825 //IL_0000: Unknown result type (might be due to invalid IL or missing references)
1826 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
1827 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
1828 //IL_0007: Unknown result type (might be due to invalid IL or missing references)
1829 return Vector2.Normalize(Target - Origin);
1830 }