Merge pull request #772 from thechosenone124/patch-1

Intermediate Function Is Improperly Done #772
This commit is contained in:
Christophe 2018-06-01 23:49:02 +02:00 committed by GitHub
commit 56ed906320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>