Merge branch '0.9.1' into gtx_ulp

This commit is contained in:
Christophe Riccio 2011-04-26 11:47:46 +01:00
commit c6ccf28186

View File

@ -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>