mirror of
https://github.com/recp/cglm.git
synced 2026-11-18 18:17:13 -06:00
Update quat.h
This commit is contained in:
1 parent
cd5ed1f4c4
commit
c5b2afc1c4
1 file changed
+1
-1
+1
-1
@@ -766,7 +766,7 @@ glm_quat_slerp_longest(versor from, versor to, float t, versor dest) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//NOTE THAT ONLY THIS CHANGED
|
/* longest path */
|
||||||
if (!(cosTheta < 0.0f)) {
|
if (!(cosTheta < 0.0f)) {
|
||||||
glm_vec4_negate(q1);
|
glm_vec4_negate(q1);
|
||||||
cosTheta = -cosTheta;
|
cosTheta = -cosTheta;
|
||||||
|
|||||||
Reference in new issue
Block a user