From 87732304d15f80fa952a243bb3c6dec44f3f0856 Mon Sep 17 00:00:00 2001 From: Carco_21 <144170194+carter-ktb21@users.noreply.github.com> Date: Fri, 12 Dec 2025 23:54:42 -0500 Subject: d_particle debug work (#2944) * misc work * more work * fixed error * more work * PR cleanup * missed cleanup * error fix * wii fix --- include/JSystem/JMath/JMath.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/JSystem/JMath') diff --git a/include/JSystem/JMath/JMath.h b/include/JSystem/JMath/JMath.h index 1142f41389..ee31b6e541 100644 --- a/include/JSystem/JMath/JMath.h +++ b/include/JSystem/JMath/JMath.h @@ -17,6 +17,12 @@ inline int JMAAbs(int value) { #endif } +inline f32 JMAAbs(f32 x) { +#ifdef __MWERKS__ + return __fabsf(x); +#endif +} + inline f32 JMAFastReciprocal(f32 value) { #ifdef __MWERKS__ return __fres(value); -- cgit v1.2.3