Contents

rotated(by:around:)

Returns a ray that’s rotated by the specified rotation around a specified pivot.

Declaration

func rotated(by rotation: Rotation3D, around pivot: Point3D) -> Ray3D

Parameters

  • rotation:

    The rotation.

  • pivot:

    The center of the rotation.

See Also

Transforming a 3D ray structure