diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-09-23 15:02:32 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-09-23 15:02:32 -0400 |
commit | d740eabb3c19bae406d184c6f29c81b2c5dc952f (patch) | |
tree | d3641957151d385b2ddaeb4c944da3cef54583f2 /src/trig.c | |
parent | 57543e164e0ed15c23e295ffa08e5804d4d32037 (diff) | |
parent | a57915fa5bd8c2e68bc291a371e66e3cafd7e195 (diff) |
merge
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[] = { |