mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-03 13:41:43 -04:00
setPosition/setRotation/setAspectRatio/setFov now reject: - NaN/inf inputs (would produce NaN view/proj matrix → frozen GPU on some drivers, garbage frustum culling everywhere) - aspectRatio <= 0 (degenerate perspective) - fov <= 0 or >= 180 (degenerate perspective) Camera is constructed and set from many code paths; pushing the guards into the setters means none of them need to remember.