1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Parallelogram: Fix implementations of isEmpty and operator-=

Previously, isEmpty sometimes incorrectly returned true for non-empty
parallelograms.

operator-= called itself, leading to infinite recursion.
This commit is contained in:
reuk 2024-04-29 15:02:42 +01:00
parent 83dcaf3c39
commit 44a04370a9
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
37 changed files with 177 additions and 3 deletions

View file

@ -1732,6 +1732,7 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_graphics/geometry/juce_EdgeTable.h"
"../../../../../modules/juce_graphics/geometry/juce_Line.h"
"../../../../../modules/juce_graphics/geometry/juce_Parallelogram.h"
"../../../../../modules/juce_graphics/geometry/juce_Parallelogram_test.cpp"
"../../../../../modules/juce_graphics/geometry/juce_Path.cpp"
"../../../../../modules/juce_graphics/geometry/juce_Path.h"
"../../../../../modules/juce_graphics/geometry/juce_PathIterator.cpp"
@ -4063,6 +4064,7 @@ set_source_files_properties(
"../../../../../modules/juce_graphics/geometry/juce_EdgeTable.h"
"../../../../../modules/juce_graphics/geometry/juce_Line.h"
"../../../../../modules/juce_graphics/geometry/juce_Parallelogram.h"
"../../../../../modules/juce_graphics/geometry/juce_Parallelogram_test.cpp"
"../../../../../modules/juce_graphics/geometry/juce_Path.cpp"
"../../../../../modules/juce_graphics/geometry/juce_Path.h"
"../../../../../modules/juce_graphics/geometry/juce_PathIterator.cpp"