rotate(by:)
Rotates the entity rotated by the specified quaternion around the origin.
Declaration
mutating func rotate(by quaternion: Self.Quaternion)Parameters
- quaternion:
The quaternion that defines the rotation.
Rotates the entity rotated by the specified quaternion around the origin.
mutating func rotate(by quaternion: Self.Quaternion)The quaternion that defines the rotation.