UnixJunkie / vector3

module for 3D vectors (implemented as a record of x, y and z floats)
6 stars 0 forks source link

no dist2 while there is mag2 #9

Open UnixJunkie opened 1 year ago

UnixJunkie commented 1 year ago

squared distance, to save one call to sqrt

UnixJunkie commented 5 months ago

related to https://github.com/UnixJunkie/vector3/issues/11