Closed alufolie91 closed 6 months ago
essentially
The existing calculation didn't correspond to how the projection matrix was generated. Derive horizontal FOV directly from projection matrix so it can't get out of sync. https://github.com/kraflab/dsda-doom/commit/60f2ca9da4ad19c309b6599331f0c51706de9011
Credits to Kraflab and bkoropoff
Top pic new code Bottom pic old code
essentially
Credits to Kraflab and bkoropoff
Top pic new code Bottom pic old code