# extent

function in `@dioramajs/model/explode`

```ts
import { extent } from '@dioramajs/model/explode'
```

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.

```ts
function extent(
  pieces: readonly Piece[],
  still: readonly Box3[],
  moves: readonly Vector3[],
): Box3[]
```

| Parameter | Type | Description |
| --- | --- | --- |
| `pieces` | `readonly Piece[]` |  |
| `still` | `readonly Box3[]` |  |
| `moves` | `readonly Vector3[]` |  |

Defined in [packages/model/src/explode.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/model/src/explode.ts#L159).
