summaryrefslogtreecommitdiff
path: root/src/trig.c
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-09-23 13:50:55 -0400
committerGitHub <noreply@github.com>2017-09-23 13:50:55 -0400
commita57915fa5bd8c2e68bc291a371e66e3cafd7e195 (patch)
tree0b20aeb72cc21dbfbaf99ad08750934471cccf96 /src/trig.c
parent2ad419e4b914ba17b5b3c3e60ef56726da0cf59b (diff)
parent21f668d6a574dd7df4d761148c6f02ee4cdda6f1 (diff)
Merge pull request #36 from DizzyEggg/decomp_egg_hatch
Decompile Egg Hatch
Diffstat (limited to 'src/trig.c')
-rw-r--r--src/trig.c6
1 files changed, 0 insertions, 6 deletions
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[] =
{