summaryrefslogtreecommitdiff
path: root/arm9/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-05-23 07:16:39 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-05-23 07:57:50 -0400
commitde8a5e2c14aa91d95c30f77944f266b1e1a0ff0e (patch)
tree9863b8a844628cd252277f4a2dac6c0a35ba10c1 /arm9/src
parentde4dba08bb3788f70164f53839618e63576aef77 (diff)
Split FX_sincos
Diffstat (limited to 'arm9/src')
-rw-r--r--arm9/src/math_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arm9/src/math_util.c b/arm9/src/math_util.c
index 4ecee59c..ac3b77f0 100644
--- a/arm9/src/math_util.c
+++ b/arm9/src/math_util.c
@@ -1,7 +1,7 @@
#include "global.h"
#include "math_util.h"
-extern const s16 UNK_020FFA38[]; // temporary until further notice
+extern const s16 FX_SinCosTable_[]; // temporary until further notice
/*
* Constant tables
@@ -697,8 +697,8 @@ THUMB_FUNC void MTX22_2DAffine(struct Mtx22 * mtx, u16 radians, fx32 x, fx32 y,
radians = (u16)((u32)(radians * 65535) / 360); // shut up the compiler
MTX_Rot22_(mtx,
- UNK_020FFA38[((radians >> 4) * 2)], // TODO: macros
- UNK_020FFA38[((radians >> 4) * 2) + 1]); // TODO: macros
+ FX_SinCosTable_[((radians >> 4) * 2)], // TODO: macros
+ FX_SinCosTable_[((radians >> 4) * 2) + 1]); // TODO: macros
MTX_ScaleApply22(mtx, mtx, x, y);
}