Fixed quaternion inverse, ticket #82

This commit is contained in:
Christophe Riccio 2011-04-25 23:24:30 +01:00
parent 0fe8a365ba
commit c7af08f4ce

View File

@ -422,7 +422,7 @@ namespace quaternion{
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>