• Parameters

    • dist: number

      the length along the vector

    Returns number

    the clamped input value

    Description

    These clamp functions process lines/rays/segments intersections. The ray method clamps values below -epsilon to be 0.