summaryrefslogtreecommitdiff
path: root/include/JSystem/JMath
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem/JMath')
-rw-r--r--include/JSystem/JMath/JMath.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/JSystem/JMath/JMath.h b/include/JSystem/JMath/JMath.h
index 802d24f2aa..d71f5de5e7 100644
--- a/include/JSystem/JMath/JMath.h
+++ b/include/JSystem/JMath/JMath.h
@@ -1,6 +1,21 @@
#ifndef JMATH_H
#define JMATH_H
+#include "dolphin/mtx/mtx.h"
#include "dolphin/types.h"
+void JMAMTXApplyScale(const Mtx, Mtx, f32, f32, f32);
+
+inline f32 JMAFastReciprocal(f32 value) {
+ return __fres(value);
+}
+
+namespace JMath {
+
+inline f32 fastReciprocal(f32 value) {
+ return JMAFastReciprocal(value);
+}
+
+}; // namespace JMath
+
#endif /* JMATH_H */