mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 16:51:35 +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;
|
||||
}
|
||||
|
||||
//NOTE THAT ONLY THIS CHANGED
|
||||
/* longest path */
|
||||
if (!(cosTheta < 0.0f)) {
|
||||
glm_vec4_negate(q1);
|
||||
cosTheta = -cosTheta;
|
||||
|
Reference in New Issue
Block a user