rotated(by:)
Returns the vector rotated by the specified quaternion around the origin.
Declaration
func rotated(by quaternion: simd_quatd) -> Vector3DParameters
- quaternion:
The quaternion that defines the rotation.
Discussion
Returns The rotated vector.