summaryrefslogtreecommitdiff
path: root/arm9/lib/NitroSDK/include/GX_g3_util.h
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-07-25 20:12:22 +0100
committerGitHub <noreply@github.com>2021-07-25 20:12:22 +0100
commit0c2db8de60375ab8c450ea64320feb22431f43aa (patch)
treeaa1dcc5d2980a74dff1a7bb238f8f1fc56aff323 /arm9/lib/NitroSDK/include/GX_g3_util.h
parent68d7aa47cc52ef822220e0e35890863d7cad479f (diff)
parent7e5c80f9b086a0e1df2430a0c0ed2f9eec3a5cb0 (diff)
Merge pull request #414 from PikalaxALT/pikalax_work
[Leak informed] Decompile camera-related code
Diffstat (limited to 'arm9/lib/NitroSDK/include/GX_g3_util.h')
-rw-r--r--arm9/lib/NitroSDK/include/GX_g3_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arm9/lib/NitroSDK/include/GX_g3_util.h b/arm9/lib/NitroSDK/include/GX_g3_util.h
index a9bc4c17..8b66aee7 100644
--- a/arm9/lib/NitroSDK/include/GX_g3_util.h
+++ b/arm9/lib/NitroSDK/include/GX_g3_util.h
@@ -1,9 +1,11 @@
#ifndef GUARD_GX_G3_UTIL_H
#define GUARD_GX_G3_UTIL_H
+#include "nitro/FX_types.h"
+
void G3i_PerspectiveW_(fx32 fovsin, fx32 fovcos, fx32 ratio, fx32 near, fx32 far, fx32 scale, u32 load, struct Mtx44 *mtx);
void G3i_OrthoW_(fx32 top, fx32 bottom, fx32 left, fx32 right, fx32 near, fx32 far, fx32 scale, u32 load, struct Mtx44 *mtx);
-void G3i_LookAt_(struct Vecx32 *a, struct Vecx32 *b, struct Vecx32 *c, u32 load, struct Mtx44 *mtx);
+void G3i_LookAt_(const struct Vecx32 *a, const struct Vecx32 *b, const struct Vecx32 *c, BOOL load, struct Mtx43 *mtx);
void G3_RotX(fx32 sinphi, fx32 cosphi);
void G3_RotY(fx32 sinphi, fx32 cosphi);
void G3_RotZ(fx32 sinphi, fx32 cosphi);