Black Ops III

DistanceSquared

Returns the squared distance between two points - this is cheaper than the actual distance as it doesn't involve a square root

Example:

dist2 = DistanceSquared(models[j].origin, center)

Parameters

ParameterSummary
*point1The first point
*point2The second point

* = mandatory