rotated(by:)
Returns the entity rotated by the specified quaternion around the origin.
Declaration
func rotated(by quaternion: Self.Quaternion) -> SelfParameters
- quaternion:
The quaternion that defines the rotation.
Discussion
Returns The rotated primitive.