init(center:size:)
Creates a rectangle from Spatial vectors that describe the center and size.
Declaration
init(center: Vector3DFloat = .zero, size: Vector3DFloat)Parameters
- center:
The center of the rectangle.
- size:
The size of the rectangle.
Creates a rectangle from Spatial vectors that describe the center and size.
init(center: Vector3DFloat = .zero, size: Vector3DFloat)The center of the rectangle.
The size of the rectangle.