Skip to content

Commit

Permalink
Update quat.h
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed May 13, 2024
1 parent cd5ed1f commit c5b2afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cglm/quat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c5b2afc

Please sign in to comment.