distanceSquared

Calculates the squared distance between this position and another position.

Return

The squared distance between the two positions.

Parameters

o

The target position to calculate the distance to.

Throws

if the positions are in different worlds.