Contents

rotate(by:)

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

Declaration

mutating func rotate(by rotation: Self.Rotation)

Parameters

  • rotation:

    The rotation.