mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-11 04:37:55 -04:00
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:
+3
-3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user