Remove false param to setQuad

This commit is contained in:
Richard Davey 2023-11-07 18:53:51 +00:00
parent 0431796d94
commit 94c810fd39
2 changed files with 4 additions and 5 deletions

View file

@ -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);

View file

@ -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;