shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$container$bounds$getRenderableBounds = function(global, require, module, exports) { require("module$node_modules$pixi_DOT_js$lib$maths$index"); global = require("module$node_modules$pixi_DOT_js$lib$maths$matrix$Matrix"); "use strict"; const tempProjectionMatrix = new global.Matrix(); exports.getGlobalRenderableBounds = function(renderables, bounds) { bounds.clear(); const actualMatrix = bounds.matrix; for (let i = 0; i < renderables.length; i++) { const renderable = renderables[i]; if (7 > renderable.globalDisplayStatus) { continue; } const renderGroup = renderable.renderGroup ?? renderable.parentRenderGroup; bounds.matrix = renderGroup?.isCachedAsTexture ? tempProjectionMatrix.copyFrom(renderGroup.textureOffsetInverseTransform).append(renderable.worldTransform) : renderGroup?._parentCacheAsTextureRenderGroup ? tempProjectionMatrix.copyFrom(renderGroup._parentCacheAsTextureRenderGroup.inverseWorldTransform).append(renderable.groupTransform) : renderable.worldTransform; bounds.addBounds(renderable.bounds); } bounds.matrix = actualMatrix; return bounds; }; }; //# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$container$bounds$getRenderableBounds.js.map