We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 296bef6 commit b350ebdCopy full SHA for b350ebd
1 file changed
src/renderer/webgl/pipelines/MultiPipeline.js
@@ -903,19 +903,16 @@ var MultiPipeline = new Class({
903
// Undo the camera scroll
904
spriteMatrix.e = srcX;
905
spriteMatrix.f = srcY;
906
-
907
- // Multiply by the Sprite matrix, store result in calcMatrix
908
- camMatrix.multiply(spriteMatrix, calcMatrix);
909
}
910
else
911
{
912
spriteMatrix.e -= camera.scrollX * scrollFactorX;
913
spriteMatrix.f -= camera.scrollY * scrollFactorY;
914
915
916
917
918
+ // Multiply by the Sprite matrix, store result in calcMatrix
+ camMatrix.multiply(spriteMatrix, calcMatrix);
+
919
var tx0 = calcMatrix.getX(x, y);
920
var ty0 = calcMatrix.getY(x, y);
921
0 commit comments