Black Ops III

Closer

Tests which of two points is the closest. Returns true if point a is closer to the reference than point b

Example:

if( Closer( center, models[j].origin , models[i].origin ))...

Parameters

ParameterSummary
*referenceThe base position
*point aThe first point
*point bThe second point

* = mandatory