Skip to content

Commit 3af1d57

Browse files
author
Yat Hin Wong
committed
Changed let to var
1 parent 8afeafd commit 3af1d57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/renderer/webgl/pipelines/components/ModelViewProjection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@ var ModelViewProjection = {
469469
projPersp: function (fovy, aspectRatio, near, far)
470470
{
471471
var projectionMatrix = this.projectionMatrix;
472-
let fov = 1.0 / Math.tan(fovy / 2.0);
473-
let nearFar = 1.0 / (near - far);
472+
var fov = 1.0 / Math.tan(fovy / 2.0);
473+
var nearFar = 1.0 / (near - far);
474474

475475
projectionMatrix[0] = fov / aspectRatio;
476476
projectionMatrix[1] = 0.0;

0 commit comments

Comments
 (0)