You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Lowercase abs and signum_positive defines
This commit is contained in:
@@ -58,6 +58,11 @@ extern f32 gSineTable[];
|
||||
#define ABSF(x) ((x) > 0.0f ? (x) : -(x))
|
||||
#define ABSI(x) ((x) > 0 ? (x) : -(x))
|
||||
#define ABS(x) ABSF((x))
|
||||
#define absf(x) ABSF((x))
|
||||
#define absi(x) ABSI((x))
|
||||
#define abs(x) ABS((x))
|
||||
|
||||
#define signum_positive(x) ((x < 0) ? -1 : 1)
|
||||
|
||||
#define min(a, b) MIN((a), (b)) // ((a) < (b) ? (a) : (b))
|
||||
#define max(a, b) MAX((a), (b)) // ((a) > (b) ? (a) : (b))
|
||||
|
||||
Reference in New Issue
Block a user