Contents

rotated(by:)

Returns a ray that results from applying the specified rotation.

Declaration

func rotated(by rotation: Rotation3D) -> Ray3D

Parameters

  • rotation:

    The rotation structure that defines the rotation’s angle and axis.

Return Value

The ray that results from applying the specified rotation.

See Also

Transforming a 3D ray structure