From 022810b9203dc23e3952e3fea1aebcf63a29f966 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Sun, 1 Mar 2026 00:44:34 +0100 Subject: [PATCH] Implement dot product calculation in JMAQuatLerp --- src/JSystem/JMath/JMath.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/JSystem/JMath/JMath.cpp b/src/JSystem/JMath/JMath.cpp index 40ba07e463..a95d302495 100644 --- a/src/JSystem/JMath/JMath.cpp +++ b/src/JSystem/JMath/JMath.cpp @@ -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;