--- a/src/geometry.cpp Tue Jul 27 09:56:06 2021 +0300 +++ b/src/geometry.cpp Tue Jul 27 11:11:32 2021 +0300 @@ -103,7 +103,9 @@ std::optional<glm::vec2> geom::rayLineSegmentIntersection(const Ray<2>& ray, const LineSegment2D& line) { - std::optional<glm::vec2> result = lineLineIntersection(rayToLine(ray), lineFromPoints(line.points[0], line.points[1])); + std::optional<glm::vec2> result = lineLineIntersection( + rayToLine(ray), + lineFromPoints(line.points[0], line.points[1])); if (result.has_value()) { const float d1 = glm::dot(*result - ray.anchor, ray.direction);