Implement dot product calculation in JMAQuatLerp

This commit is contained in:
PJB3005
2026-03-01 00:44:34 +01:00
parent e33f21f713
commit 022810b920
+3 -1
View File
@@ -37,7 +37,9 @@ void JMAQuatLerp(__REGISTER const Quaternion* p, __REGISTER const Quaternion* q,
ps_sum0 dp, dp, dp, dp
}
#endif // clang-format on
#else // clang-format on
dp = p->x * q->x + p->y * q->y + p->z * q->z + p->w * q->w;
#endif
f32 local_78 = dp;
if (local_78 < 0.0) {
int unused;