Function findNextOctant

  • Finds the next octant that intersects with the ray based on the exit plane of the current one.

    Parameters

    • currentOctant: number

      The index of the current octant.

    • tx1: number

      Ray projection parameter.

    • ty1: number

      Ray projection parameter.

    • tz1: number

      Ray projection parameter.

    Returns number

    The index of the next octant that the ray travels through.

Generated using TypeDoc