master
Olivier Sohn ago%!(EXTRA string=8 years)
parent 6bd81b8fbc
commit ddb93dcdc2
  1. 2
      glm/gtx/quaternion.inl

@ -186,7 +186,7 @@ namespace glm
if(cosTheta >= static_cast<T>(1) - epsilon<T>()) { if(cosTheta >= static_cast<T>(1) - epsilon<T>()) {
// orig and dest point in the same direction // orig and dest point in the same direction
return quat_identity(); return quat_identity<T,Q>();
} }
if(cosTheta < static_cast<T>(-1) + epsilon<T>()) if(cosTheta < static_cast<T>(-1) + epsilon<T>())

Loading…
Cancel
Save