terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ClosestPointOnLine()

static Vector2 Terraria.Utils.ClosestPointOnLine ( this Vector2 P,
Vector2 A,
Vector2 B )
inlinestatic

Definition at line 1201 of file Utils.cs.

1202 {
1203 if (!true)
1204 {
1205 }
1206 Vector2 vector;
1207 float num = vector.LengthSquared();
1208 if (!true)
1209 {
1210 }
1211 return 1;
1212 }

References Microsoft.Xna.Framework.Vector2.LengthSquared().