From 53b2110373eb506d9c035697c0719851a77936d4 Mon Sep 17 00:00:00 2001 From: cadmic Date: Fri, 6 Sep 2024 02:18:59 -0700 Subject: Clean up uses of !PLATFORM_N64 vs PLATFORM_GC (#2134) * Clean up uses of !PLATFORM_N64 vs PLATFORM_GC * Put N64 button colors first --- src/code/fp_math.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/code/fp_math.c') 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 */ -- cgit v1.2.3