pex-gl / pex-cam

Cameras models and controllers for 3D rendering in PEX.
MIT License
2 stars 3 forks source link

View matrix can't be inversed when looking straight down #9

Closed vorg closed 6 years ago

vorg commented 6 years ago

Mat4.invert returns null if direction to target vs up vector is 180deg (e.g. when looking straight down)