mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
Merge branch '0.9.1' into noise
This commit is contained in:
commit
6d5cfcd4b0
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user