Contents

applying(_:)

Returns a ray that’s transformed by the specified affine transform.

Declaration

func applying(_ transform: AffineTransform3DFloat) -> Ray3DFloat

Parameters

  • transform:

    The affine transform.

Discussion

  • Returns The transformed ray.

This function applies the transform to the ray’s origin and direction.