summaryrefslogtreecommitdiff
path: root/src/math_util_2.c
diff options
context:
space:
mode:
authorTyler McGavran <tyler.taggerung@gmail.com>2022-07-06 20:36:27 -0400
committerGitHub <noreply@github.com>2022-07-06 17:36:27 -0700
commitf2eef3b82ee60cd3f1f6b44c035fcb65637fe54d (patch)
tree370ddc5935c90b1f8fd0d791cd93ae44b6257668 /src/math_util_2.c
parentbf106ede73cc78538d98877e40ba73d5a45c5351 (diff)
Identify some stuff in the Camera struct (#238)
Make a header file for all the camera stuff, refresh a lot of mips_to_c output Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Diffstat (limited to 'src/math_util_2.c')
-rw-r--r--src/math_util_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math_util_2.c b/src/math_util_2.c
index 21427de52..c7d2ade71 100644
--- a/src/math_util_2.c
+++ b/src/math_util_2.c
@@ -451,7 +451,7 @@ s32 func_80041980(Vec3f arg0, Camera *arg1, u16 arg2) {
s32 ret;
ret = 0;
- temp_t9 = (func_80041770(arg1->pos[0], arg0[0], arg1->pos[2], arg0[2]) + (arg2 / 2)) - arg1->rotX[1];
+ temp_t9 = (func_80041770(arg1->pos[0], arg0[0], arg1->pos[2], arg0[2]) + (arg2 / 2)) - arg1->rot[1];
if ((temp_t9 >= 0) && (arg2 >= temp_t9)) {
ret = 1;
}