Skip to content

Commit

Permalink
Remove Duplicate Lines
Browse files Browse the repository at this point in the history
  • Loading branch information
KY246 authored and greggman committed Nov 29, 2023
1 parent 651314e commit 71ce9f6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions webgl/webgl-3d-camera-look-at.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@
// Make a view matrix from the camera matrix.
var viewMatrix = m4.inverse(cameraMatrix);

// Make a view matrix from the camera matrix.
var viewMatrix = m4.inverse(cameraMatrix);

// create a viewProjection matrix. This will both apply perspective
// AND move the world so that the camera is effectively the origin
var viewProjectionMatrix = m4.multiply(projectionMatrix, viewMatrix);
Expand Down

0 comments on commit 71ce9f6

Please sign in to comment.