Skip to content

Commit c1eb443

Browse files
authored
Merge pull request phaserjs#3216 from agilul/letkeyword
Fix stray let keywords
2 parents 8afeafd + 3af1d57 commit c1eb443

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)