mirror of
https://github.com/recp/cglm.git
synced 2026-01-04 14:28:06 +00:00
Update quat.h
This commit is contained in:
@@ -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