Skip to content

Commit 71ce9f6

Browse files
KY246greggman
authored andcommitted
Remove Duplicate Lines
1 parent 651314e commit 71ce9f6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

webgl/webgl-3d-camera-look-at.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,6 @@
211211
// Make a view matrix from the camera matrix.
212212
var viewMatrix = m4.inverse(cameraMatrix);
213213

214-
// Make a view matrix from the camera matrix.
215-
var viewMatrix = m4.inverse(cameraMatrix);
216-
217214
// create a viewProjection matrix. This will both apply perspective
218215
// AND move the world so that the camera is effectively the origin
219216
var viewProjectionMatrix = m4.multiply(projectionMatrix, viewMatrix);

0 commit comments

Comments
 (0)