mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Merge pull request #772 from thechosenone124/patch-1
Intermediate Function Is Improperly Done #772
This commit is contained in:
commit
56ed906320
@ -45,7 +45,7 @@ namespace glm
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
tquat<T, Q> invQuat = inverse(curr);
|
tquat<T, Q> invQuat = inverse(curr);
|
||||||
return exp((log(next + invQuat) + log(prev + invQuat)) / static_cast<T>(-4)) * curr;
|
return exp((log(next * invQuat) + log(prev * invQuat)) / static_cast<T>(-4)) * curr;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, qualifier Q>
|
template<typename T, qualifier Q>
|
||||||
|
Loading…
Reference in New Issue
Block a user