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