fn slerp_normalized(from: Vec3<f32>, to: Vec3<f32>, factor: f32) -> Vec3<f32>Expand description
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