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