Black Ops III

Distance2DSquared

Returns the squared distance between two points, ignores height difference.

Example:

distsq = Distance2DSquared( org, ai[i].origin )

Parameters

ParameterSummary
*point1The first point
*point2The second point

* = mandatory