struct property

StructType<BoundingBox> struct
final

Describes the raw memory layout, construction, and pointer representation of this struct type.

Implementation

static final StructType<BoundingBox> struct = ._builtin(
  factory: BoundingBox.new,
  layout: .aligned<BoundingBoxField>({
    .min: RStruct(Vector3.struct), // Minimum vertex box-corner
    .max: RStruct(Vector3.struct), // Maximum vertex box-corner
  }),
);