This commit is contained in:
Akko
2025-08-04 18:57:35 +02:00
parent 8cf6e78a79
commit 9495868c2e
5030 changed files with 518594 additions and 17609 deletions

View File

@@ -0,0 +1,13 @@
import type { Container } from '../Container';
import type { Bounds } from './Bounds';
/**
* Does exactly the same as getGlobalBounds, but does instead makes use of transforming AABBs
* of the various children within the scene graph. This is much faster, but less accurate.
*
* the result will never be smaller - only ever slightly larger (in most cases, it will be the same).
* @param target - The target container to get the bounds from
* @param bounds - The output bounds object.
* @returns The bounds.
*/
export declare function getFastGlobalBounds(target: Container, bounds: Bounds): Bounds;
export declare function _getGlobalBoundsRecursive(target: Container, bounds: Bounds): void;