mirror of
https://github.com/g-truc/glm.git
synced 2025-04-14 17:13:41 +00:00
Merge pull request #772 from thechosenone124/patch-1
Intermediate Function Is Improperly Done #772
This commit is contained in:
commit
56ed906320
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue