diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2017-10-02 22:09:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-02 22:09:29 -0400 |
commit | 2701191a769784640d6a4fb819ae48272d01eb75 (patch) | |
tree | 6e6ebcf4bc02c2528e58ddcbe699b1d0601a50e1 /src/trig.c | |
parent | 4cf115000289d10de3408e752b37128446dd261c (diff) | |
parent | 0fe97e838eab14723a4a38a773e2bc4d1494241e (diff) |
Merge branch 'master' into unk_text_util_2
Diffstat (limited to 'src/trig.c')
-rw-r--r-- | src/trig.c | 6 |
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[] = { |