fix every viewport projection issue fixes #123 fixes #115

This commit is contained in:
madeline
2026-04-05 16:31:57 -07:00
parent 77fbc2b7d1
commit 0b5dcfc7ad
26 changed files with 161 additions and 7 deletions
+6
View File
@@ -517,7 +517,13 @@ void daObjKAM_c::Z_BufferChk() {
cXyz currentOffset;
currentOffset = current.pos;
currentOffset.y += 20.0f;
#if TARGET_PC
mDoLib_project(&currentOffset, &currentProj, {0, 0, FB_WIDTH, FB_HEIGHT});
#else
mDoLib_project(&currentOffset, &currentProj);
#endif
camera_process_class* camera = dComIfGp_getCamera(0);
f32 cameraHeight;
if (camera != NULL) {