Get the squared distance between two vectors.
From vector.
To vector.
distanceSq({ x: 0, y: 0 }, { x: 3, y: 4 }); // -> 25 Copy
distanceSq({ x: 0, y: 0 }, { x: 3, y: 4 }); // -> 25
Get the squared distance between two vectors.