Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions visibility/visibility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ namespace geometry
{
// Nearest line segment has changed
// Compute the intersection point with this segment
vec2 intersection;
Vector intersection;
ray<Vector> ray{ point, event.point() - point };
auto nearest_segment = *state.begin();
auto intersects = ray.intersects(nearest_segment, intersection);
Expand Down Expand Up @@ -271,4 +271,4 @@ namespace geometry
}
}

#endif // GEOMETRY_VISIBILITY_HPP_
#endif // GEOMETRY_VISIBILITY_HPP_