Forráskód Böngészése

Merge branch '0.9.1' into 0.9.2

Christophe Riccio 14 éve
szülő
commit
3fd2a71d1e
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      glm/gtc/quaternion.inl

+ 1 - 1
glm/gtc/quaternion.inl

@@ -422,7 +422,7 @@ namespace quaternion{
 		detail::tquat<T> const & q
 		detail::tquat<T> const & q
 	)
 	)
     {
     {
-        return gtc::quaternion::conjugate(q) / gtc::quaternion::length(q);
+        return gtc::quaternion::conjugate(q) / gtc::quaternion::dot(q, q);
     }
     }
 
 
     template <typename T> 
     template <typename T>