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