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): Float32Array
import { assemblyBounds } from '@driftengine/drft';

Parameters

ParameterTypeDescription
assemblyDrftAssembly
piecePieceLookup
out?Float32Array