struct property

StructType<BoundingBoxD> struct
final

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

Implementation

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