Calculates the distance squared between two n-dimensional points.
// Returns 126const distanceSq = Chalkboard.geom.distsq([1, 2, -6], [3, 1, 5]); Copy
// Returns 126const distanceSq = Chalkboard.geom.distsq([1, 2, -6], [3, 1, 5]);
The first point
The second point
Calculates the distance squared between two n-dimensional points.
Example