We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 651314e commit 71ce9f6Copy full SHA for 71ce9f6
webgl/webgl-3d-camera-look-at.html
@@ -211,9 +211,6 @@
211
// Make a view matrix from the camera matrix.
212
var viewMatrix = m4.inverse(cameraMatrix);
213
214
- // Make a view matrix from the camera matrix.
215
- var viewMatrix = m4.inverse(cameraMatrix);
216
-
217
// create a viewProjection matrix. This will both apply perspective
218
// AND move the world so that the camera is effectively the origin
219
var viewProjectionMatrix = m4.multiply(projectionMatrix, viewMatrix);
0 commit comments