summaryrefslogtreecommitdiff
path: root/include/JSystem/JMath
diff options
context:
space:
mode:
authorCarco_21 <144170194+carter-ktb21@users.noreply.github.com>2025-12-12 23:54:42 -0500
committerGitHub <noreply@github.com>2025-12-12 20:54:42 -0800
commit87732304d15f80fa952a243bb3c6dec44f3f0856 (patch)
tree60e559953b012cdeadb6e53a991e07ceab4f0f87 /include/JSystem/JMath
parent2481e184fb99b7343cbf0893f838cc892feafc4a (diff)
d_particle debug work (#2944)
* misc work * more work * fixed error * more work * PR cleanup * missed cleanup * error fix * wii fix
Diffstat (limited to 'include/JSystem/JMath')
-rw-r--r--include/JSystem/JMath/JMath.h6
1 files changed, 6 insertions, 0 deletions
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);