zeke / euclidean-distance

Calculate the Euclidean distance been two points in 2D/3D/nD space.
MIT License
53 stars 10 forks source link

modernize it :shrug: #6

Closed vitordino closed 4 years ago

vitordino commented 4 years ago

looks like this can be easily done with 1 line — with modern js