some cleanup of f_pc/f_op files (#2254)

* cleanup f_pc files

* cleanup f_op files

* fix a couple f_op_actor_mng functions

* minor JSystem work
This commit is contained in:
TakaRikka
2024-11-29 08:24:26 -08:00
committed by GitHub
parent 6482fe7535
commit 073992df8d
903 changed files with 6835 additions and 6587 deletions
+3 -3
View File
@@ -116,8 +116,8 @@ void dInsect_c::CalcZBuffer(f32 param_0) {
field_0x578 = 0;
}
f32 view_near = dComIfGd_getView()->mNear;
f32 view_far = dComIfGd_getView()->mFar;
f32 view_near = dComIfGd_getView()->near;
f32 view_far = dComIfGd_getView()->far;
mDoLib_pos2camera(&pos, &pos_projected);
pos_projected.z += param_0;
@@ -129,4 +129,4 @@ void dInsect_c::CalcZBuffer(f32 param_0) {
(((view_near + ((view_far * view_near) / pos_projected.z)) / (view_far - view_near)) +
1.0f) *
16777215.0f;
}
}