Closer( <reference>, <point a>, <point b> )


Module: Vector

Summary:

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 ) ) ...



Required Args:

  • 1 : <reference> The base position
  • 2 : <point a> The first point
  • 3 : <point b> The second point