distanceSquared

Calculates the squared distance between this position and the given x, y, and z values.

Return

the squared distance

Parameters

x

the X distance

y

the Y distance

z

the Z distance


Calculates the squared distance between this position and the given other position.

Return

the squared distance

Parameters

other

the other position


Calculates the squared distance between this position and the given other vector.

Return

the squared distance

Parameters

other

the other vector