Contents

rotated(by:)

Returns a ray that results from rotating with the specified quaternion.

Declaration

func rotated(by quaternion: simd_quatd) -> Ray3D

Parameters

  • quaternion:

    The double-precision quaternion that specifies the rotation.

Return Value

The ray that results from rotating with the specified quaternion.

See Also

Transforming a 3D ray structure