Black Ops III

LengthSquared

Returns the squared vector length for the given vector - this is cheaper than the actual vector length as it doesn't involve a square root

Example:

dist2 = LengthSquared(models[j].origin - center)

Parameters

ParameterSummary
*vectorA vector

* = mandatory