summaryrefslogtreecommitdiff
path: root/include/JSystem/JMath
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-09 01:17:20 -0400
committerGitHub <noreply@github.com>2025-04-08 22:17:20 -0700
commit6672817e41064e04951ec28d51070b66fc8377ac (patch)
treeeea728f5e693d69e48800875a281350d59841789 /include/JSystem/JMath
parent396a464cc743a2b104e6d9b21a07c90e130860bc (diff)
JSystem work (#2384)
* object-id 100% on debug Can't be linked due to .text alignment issues? * J3DMaterialFactory and J3DMaterialFactory_v21 OK * Match dKy_bg_MAxx_proc
Diffstat (limited to 'include/JSystem/JMath')
-rw-r--r--include/JSystem/JMath/JMath.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/JSystem/JMath/JMath.h b/include/JSystem/JMath/JMath.h
index 321c22646a..50ad426d36 100644
--- a/include/JSystem/JMath/JMath.h
+++ b/include/JSystem/JMath/JMath.h
@@ -229,4 +229,15 @@ namespace JMathInlineVEC {
}
};
+template<typename T>
+inline T JMAMax(T param_0, T param_1) {
+ T ret;
+ if (param_0 > param_1) {
+ ret = param_0;
+ } else {
+ ret = param_1;
+ }
+ return ret;
+}
+
#endif /* JMATH_H */