public static DistancePointLine ( Vector3 point, Vector3 lineStart, Vector3 lineEnd ) : float | ||
point | Vector3 | |
lineStart | Vector3 | |
lineEnd | Vector3 | |
return | float |
Calculate distance between a point and a line.
public static DistancePointLine ( Vector3 point, Vector3 lineStart, Vector3 lineEnd ) : float | ||
point | Vector3 | |
lineStart | Vector3 | |
lineEnd | Vector3 | |
return | float |