15 lines
737 B
JavaScript
15 lines
737 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$mask$utils$addMaskBounds = function(global, require, module, exports) {
|
|
global = require("module$node_modules$pixi_DOT_js$lib$scene$container$bounds$Bounds");
|
|
var getGlobalBounds = require("module$node_modules$pixi_DOT_js$lib$scene$container$bounds$getGlobalBounds");
|
|
"use strict";
|
|
const tempBounds = new global.Bounds();
|
|
exports.addMaskBounds = function(mask, bounds, skipUpdateTransform) {
|
|
mask.measurable = !0;
|
|
getGlobalBounds.getGlobalBounds(mask, skipUpdateTransform, tempBounds);
|
|
bounds.addBoundsMask(tempBounds);
|
|
mask.measurable = !1;
|
|
};
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$mask$utils$addMaskBounds.js.map
|