diff options
author | Sven Gothel <[email protected]> | 2023-02-06 02:31:14 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-02-06 02:31:14 +0100 |
commit | 18fc81fab7ba11ae3a4cdd1e94c199371f7c2e91 (patch) | |
tree | d9fd6d156317270bb3bf536ab88a4c632ad12ab3 /src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java | |
parent | a671e88c59153a39e46a64f2cb924d205f06e3f8 (diff) |
Graph: Path2D -> self-contained Path2D (w/ Iterator) fixed; OutlineShape: Add Path2F addPath(..), emphasize required Winding.CW
GPURegionGLListener01 used by TestRegionRendererNEWT01 covers Path2F CCW and CW (reverse add) methods.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java b/src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java index 36222cf4a..3ee504a29 100644 --- a/src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java +++ b/src/jogl/classes/com/jogamp/opengl/math/VectorUtil.java @@ -29,6 +29,8 @@ package com.jogamp.opengl.math; import java.util.ArrayList; +import com.jogamp.graph.geom.plane.Winding; + public final class VectorUtil { public static final float[] VEC3_ONE = { 1f, 1f, 1f }; @@ -38,16 +40,6 @@ public final class VectorUtil { public static final float[] VEC3_UNIT_Z = { 0f, 0f, 1f }; public static final float[] VEC3_UNIT_Z_NEG = { 0f, 0f, -1f }; - public enum Winding { - CW(-1), CCW(1); - - public final int dir; - - Winding(final int dir) { - this.dir = dir; - } - } - /** * Copies a vector of length 2 * @param dst output vector |