Contents

rotated(by:)

Returns the entity rotated by the specified rotation around the origin.

Declaration

func rotated(by rotation: Self.Rotation) -> Self

Parameters

  • rotation:

    The rotation.

Discussion

  • Returns The rotated primitive.