Function VectorMath.SqrDistancePointSegmentApproximate

SqrDistancePointSegmentApproximate (Int3 a, Int3 b, Int3 p)

Returns the approximate shortest squared distance between x,z and the segment p-q.

Public Static
SqrDistancePointSegmentApproximate (int x, int z, int px, int pz, int qx, int qz)

Returns the approximate shortest squared distance between x,z and the segment p-q.

Public Static