1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00

Make Path::intersectsLine const

This commit is contained in:
Tom Poole 2022-02-24 13:13:56 +00:00
parent 54ea55325f
commit 04a8a44a85
2 changed files with 2 additions and 2 deletions

View file

@ -970,7 +970,7 @@ bool Path::contains (Point<float> point, float tolerance) const
return contains (point.x, point.y, tolerance);
}
bool Path::intersectsLine (Line<float> line, float tolerance)
bool Path::intersectsLine (Line<float> line, float tolerance) const
{
PathFlatteningIterator i (*this, AffineTransform(), tolerance);
Point<float> intersection;