            to: b,
        };

        let border = Line { point: point(0.0, y_max), vector: vector(1.0, 0.0) };
        let l = Line { point: p, vector: dir };
        let border_intersection = l.intersection(&border).unwrap();