Type representing a direction using Vec3 that is normalized and NaN free
These properties are enforced actively via panics when debug_assertions is
enabled
Begone ye NaN’s
Slerp two Vec3s skipping the slerp if their directions are very close
This avoids a case where veks slerp produces NaN’s
Additionally, it avoids unnecessary calculations if they are near identical
Assumes from and to are normalized and returns a normalized vector
Begone ye NaN’s
Slerp two Vec3s skipping the slerp if their directions are very close
This avoids a case where veks slerp produces NaN’s
Additionally, it avoids unnecessary calculations if they are near identical
Assumes from is normalized and returns a normalized vector, but to
doesn’t need to be normalized
Returns Err(from)`` if to` is unnormalizable