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.
Rotates the entity rotated by the specified rotation around the origin.
mutating func rotate(by rotation: Self.Rotation)The rotation.