rotated(by:)
Returns the entity rotated by the specified rotation around the origin.
Declaration
func rotated(by rotation: Self.Rotation) -> SelfParameters
- rotation:
The rotation.
Discussion
Returns The rotated primitive.
Returns the entity rotated by the specified rotation around the origin.
func rotated(by rotation: Self.Rotation) -> SelfThe rotation.
Returns The rotated primitive.