fix every viewport projection issue fixes #123 fixes #115

This commit is contained in:
madeline
2026-04-05 16:31:57 -07:00
parent 8b4afafeb0
commit c3ffc004b9
26 changed files with 161 additions and 7 deletions
+4
View File
@@ -10977,7 +10977,11 @@ void dKy_depth_dist_set(void* process_p) {
f32 var_f31 = sp24.abs(camera_p->view.lookat.eye);
if (var_f31 < 2000.0f && var_f31 < kankyo->field_0x1268) {
#if TARGET_PC
mDoLib_project(&actor_p->eyePos, &sp30, {0, 0, FB_WIDTH, FB_HEIGHT});
#else
mDoLib_project(&actor_p->eyePos, &sp30);
#endif
if ((sp30.x >= 0.0f && sp30.x < FB_WIDTH) && (sp30.y >= 0.0f &&
#if DEBUG