summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-02-17 14:21:54 +0100
committerSven Gothel <[email protected]>2023-02-17 14:21:54 +0100
commitce1d75c14cd082d1af0796ae7402187cdf23ac7d (patch)
treeb371a67b54394f101f351bd83652bd4c3d90ad1f /src/jogl/classes/com/jogamp
parentd36ef80976e9dd4f9400bf768939a8813e2292b5 (diff)
Graph: Outline: Remove minor redundancy
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r--src/jogl/classes/com/jogamp/graph/geom/Outline.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/geom/Outline.java b/src/jogl/classes/com/jogamp/graph/geom/Outline.java
index 7c9cb69c9..bd25aeccc 100644
--- a/src/jogl/classes/com/jogamp/graph/geom/Outline.java
+++ b/src/jogl/classes/com/jogamp/graph/geom/Outline.java
@@ -148,8 +148,7 @@ public class Outline implements Comparable<Outline> {
if( 3 > count ) {
winding = Winding.CCW;
} else {
- final ArrayList<Vertex> vertices = getVertices();
- winding = VectorUtil.getWinding(vertices);
+ winding = VectorUtil.getWinding( getVertices() );
}
dirtyWinding = false;
return winding;