Create a lookup matrix. BREAKING CHANGE: now, lookup returns the lookup matrix, not the view matrix (use .inverse() to get the view matrix)
lookup matrix
https://webglfundamentals.org/webgl/lessons/webgl-3d-camera.html
position of the camera
position where you want to look at
upward direction vector, quite often (0,1,0)
Generated using TypeDoc
Create a lookup matrix. BREAKING CHANGE: now, lookup returns the lookup matrix, not the view matrix (use .inverse() to get the view matrix)
Returns
lookup matrix
See
https://webglfundamentals.org/webgl/lessons/webgl-3d-camera.html