mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Remove strict check
This commit is contained in:
parent
f540d03346
commit
46552c8f2e
1 changed files with 5 additions and 5 deletions
|
@ -31,11 +31,7 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
|
|||
|
||||
var transformMatrix = container.localTransform;
|
||||
|
||||
if (parentMatrix === undefined)
|
||||
{
|
||||
transformMatrix.applyITRS(container.x, container.y, container.rotation, container.scaleX, container.scaleY);
|
||||
}
|
||||
else
|
||||
if (parentMatrix)
|
||||
{
|
||||
transformMatrix.loadIdentity();
|
||||
transformMatrix.multiply(parentMatrix);
|
||||
|
@ -43,6 +39,10 @@ var ContainerWebGLRenderer = function (renderer, container, interpolationPercent
|
|||
transformMatrix.rotate(container.rotation);
|
||||
transformMatrix.scale(container.scaleX, container.scaleY);
|
||||
}
|
||||
else
|
||||
{
|
||||
transformMatrix.applyITRS(container.x, container.y, container.rotation, container.scaleX, container.scaleY);
|
||||
}
|
||||
|
||||
var alpha = container._alpha;
|
||||
var scrollFactorX = container.scrollFactorX;
|
||||
|
|
Loading…
Reference in a new issue