{"version":3,"file":"getFastGlobalBounds.mjs","sources":["../../../../src/scene/container/bounds/getFastGlobalBounds.ts"],"sourcesContent":["import { deprecation } from '../../../utils/logging/deprecation';\n\nimport type { Container } from '../Container';\nimport type { Bounds } from './Bounds';\n\n/**\n * Does exactly the same as getGlobalBounds, but does instead makes use of transforming AABBs\n * of the various children within the scene graph. This is much faster, but less accurate.\n *\n * Deprecated, use container.getFastGlobalBounds() instead.\n *\n * the result will never be smaller - only ever slightly larger (in most cases, it will be the same).\n * @param target - The target container to get the bounds from\n * @param bounds - The output bounds object.\n * @returns The bounds.\n * @deprecated since 8.7.0\n * @see container.getFastGlobalBounds\n * @internal\n */\nexport function getFastGlobalBounds(target: Container, bounds: Bounds): Bounds\n{\n    // #if _DEBUG\n    deprecation('8.7.0', 'Use container.getFastGlobalBounds() instead');\n    // #endif\n\n    return target.getFastGlobalBounds(true, bounds);\n}\n"],"names":[],"mappings":";;;AAmBO,SAAS,mBAAA,CAAoB,QAAmB,MAAA,EACvD;AAEI,EAAA,WAAA,CAAY,SAAS,6CAA6C,CAAA;AAGlE,EAAA,OAAO,MAAA,CAAO,mBAAA,CAAoB,IAAA,EAAM,MAAM,CAAA;AAClD;;;;"}