init(center:size:)
Creates a rectangle with the specified center and the specified size from double-precision vectors.
Declaration
init(center: simd_double3 = .zero, size: simd_double3)Parameters
- center:
A double-precision vector that specifies the rectangle’s center.
- size:
A double-precision vector that specifies the rectangle’s size.