summaryrefslogtreecommitdiff
path: root/src/code/fp_math.c
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-09-06 02:18:59 -0700
committerGitHub <noreply@github.com>2024-09-06 11:18:59 +0200
commit53b2110373eb506d9c035697c0719851a77936d4 (patch)
treee23e13cd11a9f81b41f2d18f695df37a9fd432b2 /src/code/fp_math.c
parent3faa1c6acce3b317ee23f153d17f0ea66a8f1c79 (diff)
Clean up uses of !PLATFORM_N64 vs PLATFORM_GC (#2134)
* Clean up uses of !PLATFORM_N64 vs PLATFORM_GC * Put N64 button colors first
Diffstat (limited to 'src/code/fp_math.c')
-rw-r--r--src/code/fp_math.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/fp_math.c b/src/code/fp_math.c
index fb73b58ef..85fb4cedf 100644
--- a/src/code/fp_math.c
+++ b/src/code/fp_math.c
@@ -1,7 +1,7 @@
#include "z64math.h"
#include "macros.h"
-#if PLATFORM_GC
+#if !PLATFORM_N64
s32 gUseAtanContFrac;
#endif
@@ -46,7 +46,7 @@ f32 Math_FNearbyIntF(f32 x) {
return nearbyintf(x);
}
-#if PLATFORM_GC
+#if !PLATFORM_N64
/* Arctangent approximation using a Taylor series (one quadrant) */
f32 Math_FAtanTaylorQF(f32 x) {
static const f32 coeffs[] = {
@@ -173,7 +173,7 @@ f32 Math_FAtanContFracF(f32 x) {
#endif
}
-#if PLATFORM_GC
+#if !PLATFORM_N64
/**
* @return arctan(x) in radians, in (-pi/2,pi/2) range
*/