mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Remove false param to setQuad
This commit is contained in:
parent
0431796d94
commit
94c810fd39
2 changed files with 4 additions and 5 deletions
|
@ -49,7 +49,6 @@ var ParticleEmitterWebGLRenderer = function (renderer, emitter, camera, parentMa
|
|||
managerMatrix.applyITRS(emitter.x, emitter.y, emitter.rotation, emitter.scaleX, emitter.scaleY);
|
||||
}
|
||||
|
||||
var roundPixels = camera.roundPixels;
|
||||
var getTint = Utils.getTintAppendFloatAlpha;
|
||||
var camerAlpha = camera.alpha;
|
||||
var emitterAlpha = emitter.alpha;
|
||||
|
@ -121,7 +120,7 @@ var ParticleEmitterWebGLRenderer = function (renderer, emitter, camera, parentMa
|
|||
var x = -frame.halfWidth;
|
||||
var y = -frame.halfHeight;
|
||||
|
||||
var quad = calcMatrix.setQuad(x, y, x + frame.width, y + frame.height, roundPixels);
|
||||
var quad = calcMatrix.setQuad(x, y, x + frame.width, y + frame.height);
|
||||
|
||||
var tint = getTint(particle.tint, alpha);
|
||||
|
||||
|
|
|
@ -573,7 +573,7 @@ var MultiPipeline = new Class({
|
|||
// Multiply by the Sprite matrix, store result in calcMatrix
|
||||
camMatrix.multiply(spriteMatrix, calcMatrix);
|
||||
|
||||
var quad = calcMatrix.setQuad(x, y, x + width, y + height, camera.roundPixels);
|
||||
var quad = calcMatrix.setQuad(x, y, x + width, y + height);
|
||||
|
||||
if (textureUnit === undefined)
|
||||
{
|
||||
|
@ -631,7 +631,7 @@ var MultiPipeline = new Class({
|
|||
calcMatrix = spriteMatrix;
|
||||
}
|
||||
|
||||
var quad = calcMatrix.setQuad(x, y, x + frame.width, y + frame.height, false);
|
||||
var quad = calcMatrix.setQuad(x, y, x + frame.width, y + frame.height);
|
||||
|
||||
var unit = this.setTexture2D(frame.source.glTexture);
|
||||
|
||||
|
@ -667,7 +667,7 @@ var MultiPipeline = new Class({
|
|||
parentMatrix.multiply(currentMatrix, calcMatrix);
|
||||
}
|
||||
|
||||
var quad = calcMatrix.setQuad(x, y, x + width, y + height, false);
|
||||
var quad = calcMatrix.setQuad(x, y, x + width, y + height);
|
||||
|
||||
var tint = this.fillTint;
|
||||
|
||||
|
|
Loading…
Reference in a new issue