mirror of
https://github.com/g-truc/glm.git
synced 2025-04-08 06:43:10 +00:00
Fixed quaternion inverse, ticket #82
This commit is contained in:
parent
0fe8a365ba
commit
c7af08f4ce
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue