mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Changed let to var
This commit is contained in:
parent
8afeafd66b
commit
3af1d57a95
1 changed files with 2 additions and 2 deletions
|
@ -469,8 +469,8 @@ var ModelViewProjection = {
|
||||||
projPersp: function (fovy, aspectRatio, near, far)
|
projPersp: function (fovy, aspectRatio, near, far)
|
||||||
{
|
{
|
||||||
var projectionMatrix = this.projectionMatrix;
|
var projectionMatrix = this.projectionMatrix;
|
||||||
let fov = 1.0 / Math.tan(fovy / 2.0);
|
var fov = 1.0 / Math.tan(fovy / 2.0);
|
||||||
let nearFar = 1.0 / (near - far);
|
var nearFar = 1.0 / (near - far);
|
||||||
|
|
||||||
projectionMatrix[0] = fov / aspectRatio;
|
projectionMatrix[0] = fov / aspectRatio;
|
||||||
projectionMatrix[1] = 0.0;
|
projectionMatrix[1] = 0.0;
|
||||||
|
|
Loading…
Reference in a new issue