def METHOD_NAME(depth, next_bounce):
    lines.append([len(points) + i for i in range(2)])
    depths.extend([depth, depth])
    points.extend([bounce.hit_pt, next_bounce.hit_pt])
    add_ray_segment(depth + 1, next_bounce)