summaryrefslogtreecommitdiff
path: root/arm9/lib/src/GX_g3_util.c
diff options
context:
space:
mode:
authorMade <made111@gmx.de>2020-05-15 04:03:35 +0200
committerMade <made111@gmx.de>2020-05-15 04:03:35 +0200
commit08e4b4f6657bac9d361a9f6948ae6d2bfe50eebf (patch)
treec800e9e932824e5e03c018c194a9e1ae35e2a6fc /arm9/lib/src/GX_g3_util.c
parent7e9089849989d5e930eb5b5f7cecfd8d2c6c379c (diff)
Cleanup
Diffstat (limited to 'arm9/lib/src/GX_g3_util.c')
-rw-r--r--arm9/lib/src/GX_g3_util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arm9/lib/src/GX_g3_util.c b/arm9/lib/src/GX_g3_util.c
index 049b9366..1cd956ad 100644
--- a/arm9/lib/src/GX_g3_util.c
+++ b/arm9/lib/src/GX_g3_util.c
@@ -2,13 +2,7 @@
#include "main.h"
#include "gx.h"
-#define HW_REG_DIV_NUMER 0x04000290
-#define HW_REG_DIV_DENOM 0x04000298
-#define HW_REG_MTX_MODE 0x04000440
-#define HW_REG_MTX_LOAD_4x4 0x04000458
-#define HW_REG_MTX_LOAD_4x3 0x0400045C
-#define HW_REG_MTX_MULT_3x3 0x04000468
void G3i_PerspectiveW_(fx32 fovsin, fx32 fovcos, fx32 ratio, fx32 near, fx32 far, fx32 scale, u32 load, struct Mtx44 *mtx){
fx32 fovcot, temp1, temp2;