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