sdfsdfs
This commit is contained in:
20
node_modules/pixi.js/lib/scene/container/bounds/getRenderableBounds.js
generated
vendored
Normal file
20
node_modules/pixi.js/lib/scene/container/bounds/getRenderableBounds.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
'use strict';
|
||||
|
||||
"use strict";
|
||||
function getGlobalRenderableBounds(renderables, bounds) {
|
||||
bounds.clear();
|
||||
const tempMatrix = bounds.matrix;
|
||||
for (let i = 0; i < renderables.length; i++) {
|
||||
const renderable = renderables[i];
|
||||
if (renderable.globalDisplayStatus < 7) {
|
||||
continue;
|
||||
}
|
||||
bounds.matrix = renderable.worldTransform;
|
||||
renderable.addBounds(bounds);
|
||||
}
|
||||
bounds.matrix = tempMatrix;
|
||||
return bounds;
|
||||
}
|
||||
|
||||
exports.getGlobalRenderableBounds = getGlobalRenderableBounds;
|
||||
//# sourceMappingURL=getRenderableBounds.js.map
|
Reference in New Issue
Block a user