From 5dd61a98b8df5743b8439633f9b0a042b5f7015d Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 23 Jun 2021 15:08:21 -0400 Subject: Contest data and strings to C, 2 --- src/trig.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/trig.c') diff --git a/src/trig.c b/src/trig.c index e16a69e63..c2bca3059 100644 --- a/src/trig.c +++ b/src/trig.c @@ -1,12 +1,6 @@ #include "global.h" #include "trig.h" -// Converts a number to Q8.8 fixed-point format -#define Q_8_8(n) ((s16)((n) * 256)) - -// Converts a number to Q4.12 fixed-point format -#define Q_4_12(n) ((s16)((n) * 4096)) - // Values of sin(x*(π/128)) as Q8.8 fixed-point numbers from x = 0 to x = 319 const s16 gSineTable[] = { -- cgit v1.2.3