interface RayIntersection {
    x: number;
    y: number;
    t0: number;
    t1: number;
}

Properties

x y t0 t1

Properties

x: number

The x-coordinate of intersection

y: number

The y-coordinate of intersection

t0: number

The proximity to the Ray origin, as a ratio of distance

t1: number

The proximity to the Ray destination, as a ratio of distance