extent function
Bounds of the parts of the model with each piece moved by its own `moves` entry (file units) and by those of the pieces it sits inside: what `contain` fits into the box.
import { extent } from '@dioramajs/model/explode'.
function extent(
pieces: readonly Piece[],
still: readonly Box3[],
moves: readonly Vector3[],
): Box3[]Parameters
| Name | Type | Description |
|---|---|---|
pieces | readonly Piece[] | |
still | readonly Box3[] | |
moves | readonly Vector3[] |
Defined in packages/model/src/explode.ts.