CuboidGeometry constructor

CuboidGeometry(
  1. Vector3 extents
)

Builds a cuboid sized to extents.

Implementation

factory CuboidGeometry(Vector3 extents) =>
    CuboidGeometry._(buildCuboidArrays(extents));