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
+6
View File
@@ -1362,7 +1362,13 @@ void daE_SM_c::E_SM_C_Hook() {
bool daE_SM_c::CheckViewArea() {
Vec vec;
#if TARGET_PC
mDoLib_project(&current.pos, &vec, {0, 0, FB_WIDTH, FB_HEIGHT});
#else
mDoLib_project(&current.pos, &vec);
#endif
bool rv = false;
if (vec.x >= 0.0f && vec.x <= FB_WIDTH && vec.y >= 0.0f && vec.y <= FB_HEIGHT) {