mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 05:58:30 +00:00
jsdoc and eslint fixes
This commit is contained in:
parent
3009809fc4
commit
4f6239dadb
12 changed files with 14 additions and 7 deletions
|
@ -15,7 +15,7 @@ var Container = new Class({
|
|||
|
||||
initialize:
|
||||
|
||||
function Container(scene, x, y)
|
||||
function Container (scene, x, y)
|
||||
{
|
||||
GameObject.call(this, scene, 'Container');
|
||||
this.parentContainer = null;
|
||||
|
|
|
@ -29,4 +29,4 @@ var ContainerCanvasRenderer = function (renderer, container, interpolationPercen
|
|||
}
|
||||
};
|
||||
|
||||
module.exports = ContainerCanvasRenderer;
|
||||
module.exports = ContainerCanvasRenderer;
|
||||
|
|
|
@ -29,4 +29,4 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
|
|||
}
|
||||
};
|
||||
|
||||
module.exports = ContainerWebGLRenderer;
|
||||
module.exports = ContainerWebGLRenderer;
|
||||
|
|
|
@ -43,7 +43,7 @@ var RenderTextureWebGLRenderer = function (renderer, renderTexture, interpolatio
|
|||
0, 0, renderTexture.texture.width, renderTexture.texture.height,
|
||||
Utils.getTintAppendFloatAlpha(renderTexture.tintTopLeft, renderTexture.alphaTopLeft), Utils.getTintAppendFloatAlpha(renderTexture.tintTopRight, renderTexture.alphaTopRight), Utils.getTintAppendFloatAlpha(renderTexture.tintBottomLeft, renderTexture.alphaBottomLeft), Utils.getTintAppendFloatAlpha(renderTexture.tintBottomRight, renderTexture.alphaBottomRight),
|
||||
0, 0,
|
||||
camera,
|
||||
camera,
|
||||
parentMatrix
|
||||
);
|
||||
};
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @author Felipe Alfonso <@bitnenfer>
|
||||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @author Felipe Alfonso <@bitnenfer>
|
||||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @author Felipe Alfonso <@bitnenfer>
|
||||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @author Felipe Alfonso <@bitnenfer>
|
||||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @author Felipe Alfonso <@bitnenfer>
|
||||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @author Felipe Alfonso <@bitnenfer>
|
||||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @author Felipe Alfonso <@bitnenfer>
|
||||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/**
|
||||
* @author Richard Davey <rich@photonstorm.com>
|
||||
* @author Felipe Alfonso <@bitnenfer>
|
||||
* @copyright 2018 Photon Storm Ltd.
|
||||
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||||
*/
|
||||
|
@ -10,7 +11,6 @@ var ShaderSourceFS = require('../shaders/TextureTint.frag');
|
|||
var ShaderSourceVS = require('../shaders/TextureTint.vert');
|
||||
var Utils = require('../Utils');
|
||||
var WebGLPipeline = require('../WebGLPipeline');
|
||||
var IdentityMatrix = new Float32Array([1, 0, 0, 1, 0, 0]);
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
|
@ -1796,7 +1796,7 @@ var TextureTintPipeline = new Class({
|
|||
frameX, frameY, frameWidth, frameHeight,
|
||||
tintTL, tintTR, tintBL, tintBR,
|
||||
uOffset, vOffset,
|
||||
camera,
|
||||
camera,
|
||||
parentTransformMatrix)
|
||||
{
|
||||
var parentMatrix = null;
|
||||
|
@ -1963,7 +1963,7 @@ var TextureTintPipeline = new Class({
|
|||
srcX, srcY,
|
||||
tint, alpha,
|
||||
frameX, frameY, frameWidth, frameHeight,
|
||||
transformMatrix,
|
||||
transformMatrix,
|
||||
parentTransformMatrix
|
||||
)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue