mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +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);
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user