entity dir

This commit is contained in:
YourWishes committed 2025-09-17 18:38:14 -05:00
1 parent f799690d3c
commit 08221af3f8
16 files changed
+369 -58

No files matched your search

+9 -1
View File
@@ -42,4 +42,12 @@ uint32_t mathNextPowTwo(uint32_t value);
* @param upper The upper bound.
* @return The clamped value.
*/
#define mathClamp(x, lower, upper) (mathMin(upper, mathMax(lower, x)))
#define mathClamp(x, lower, upper) (mathMin(upper, mathMax(lower, x)))
/**
* Returns the absolute value of a number.
*
* @param amt The number to get the absolute value of.
* @return The absolute value of the number.
*/
#define mathAbs(amt) ((amt) < 0 ? -(amt) : (amt))