Closed yolpsoftware closed 5 years ago
The glm.perspective() function returns a matrix with its (3,3) entry set to 1. This causes the perspective matrix to influence the camera position:
https://stackoverflow.com/questions/47716997/gllookat-moves-camera-position-when-lookat-is-moved-role-of-projection-matrix
When the (3,3) entry is set to 0.0, everything works fine.
The glm.perspective() function returns a matrix with its (3,3) entry set to 1. This causes the perspective matrix to influence the camera position:
https://stackoverflow.com/questions/47716997/gllookat-moves-camera-position-when-lookat-is-moved-role-of-projection-matrix
When the (3,3) entry is set to 0.0, everything works fine.