The .drft container · function
assemblyBounds
Min xyz then max xyz of every copy: its piece's box through its matrix, corner by corner.
Explained in The .drft container.
function assemblyBounds(assembly: DrftAssembly, piece: PieceLookup, out?: Float32Array): Float32Arrayimport { assemblyBounds } from '@driftengine/drft';Parameters
| Parameter | Type | Description |
|---|---|---|
assembly | DrftAssembly | |
piece | PieceLookup | |
out? | Float32Array |