rotated(by:around:)
Returns a rectangle that results from rotating with the specified quaternion around a pivot point.
Declaration
func rotated(by quaternion: simd_quatd, around pivot: Point3D) -> Rect3DParameters
- quaternion:
The double-precision quaternion that specifies the rotation.
- pivot:
The point structure that defines the rotation pivot point.
Return Value
The rectangle that results from applying the specified rotation around a pivot point.