Contents

init(origin:size:)

Creates a rectangle from double-precision vectors that describe the origin and size.

Declaration

init(origin: simd_double3 = .zero, size: simd_double3)

Parameters

  • origin:

    The origin of the rectangle.

  • size:

    The size of the rectangle.

Discussion