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