diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2024-11-29 08:24:26 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-29 18:24:26 +0200 |
| commit | 24b72a5302ed7a5a1300dd19b81c64c632e0d9de (patch) | |
| tree | 6e1317343d4d20d2abc77ea51ba63e360212fdce /src/d/d_insect.cpp | |
| parent | d0e243a22a66d849947f763483a02105f7a2ec3a (diff) | |
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
Diffstat (limited to 'src/d/d_insect.cpp')
| -rw-r--r-- | src/d/d_insect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_insect.cpp b/src/d/d_insect.cpp index 90e8d8fdb4..201d9ec2cd 100644 --- a/src/d/d_insect.cpp +++ b/src/d/d_insect.cpp @@ -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; -}
\ No newline at end of file +} |
