Contents

rotated(by:around:)

Declaration

func rotated(by rotation: Rotation3DFloat, around pivot: Point3DFloat) -> Rect3DFloat

Parameters

  • rotation:

    The rotation.

  • pivot:

    The center of rotation.

Return Value

A point that’s rotated by the specified rotation.

Discussion

Returns a rectangle that’s rotated by a rotation around a specified pivot.