rotated(by:around:)
Returns a ray that’s rotated by the specified quaternion around a specified pivot.
Declaration
func rotated(by quaternion: simd_quatd, around pivot: Point3D) -> Ray3DParameters
- quaternion:
The quaternion that defines the rotation.
- pivot:
The center of the rotation.