mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-09 04:30:09 +00:00
D2D: Fix intersection test for Line
This commit is contained in:
parent
203e99c57d
commit
bfccf7f81c
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ public:
|
|||
|
||||
bool doesIntersectClipList (Line<float> r) const noexcept
|
||||
{
|
||||
return doesIntersectClipList (Rectangle { r.getStart(), r.getEnd() });
|
||||
return doesIntersectClipList (Rectangle { r.getStart(), r.getEnd() }.expanded (1.0f));
|
||||
}
|
||||
|
||||
bool doesIntersectClipList (const RectangleList<float>& other) const noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue