public static GetSquaredDistanceFromPointToLine ( System.Vector3 &p, System.Vector3 &a, System.Vector3 &b ) : float | ||
p | System.Vector3 | Point to check against the line. |
a | System.Vector3 | First point on the line. |
b | System.Vector3 | Second point on the line. |
return | float |