aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/geom/plane/Crossing.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/graph/geom/plane/Crossing.java')
-rw-r--r--src/jogl/classes/jogamp/graph/geom/plane/Crossing.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/geom/plane/Crossing.java b/src/jogl/classes/jogamp/graph/geom/plane/Crossing.java
index 4ee0c250d..982575b53 100644
--- a/src/jogl/classes/jogamp/graph/geom/plane/Crossing.java
+++ b/src/jogl/classes/jogamp/graph/geom/plane/Crossing.java
@@ -880,7 +880,7 @@ public class Crossing {
* Returns how many times rectangle stripe cross shape or the are intersect
*/
public static int intersectShape(Path2D s, float x, float y, float w, float h) {
- if (!s.getBounds2D().intersects(x, y, w, h)) {
+ if (!s.getBounds2D().intersects2DRegion(x, y, w, h)) {
return 0;
}
return intersectPath(s.iterator(null), x, y, w, h);