mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 17:13:51 +00: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. |
||
|---|---|---|
| .. | ||
| addons | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| math | ||
| network | ||
| pipeline | ||
| platform | ||
| rendering | ||
| third_party | ||
| ui | ||