JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
Winding.java
Go to the documentation of this file.
1package com.jogamp.math.geom.plane;
2
3/**
4 * Winding direction, either clockwise (CW) or counter-clockwise (CCW).
5 */
6public enum Winding {
7 /** Clockwise (Cw) negative winding direction */
8 CW(-1),
9 /** Counter-Clockwise (CCW) positive winding direction */
10 CCW(1);
11
12 /** The winding direction sign, i.e. positive 1 for CCW and negative -1 for CW. */
13 public final int dir;
14
15 Winding(final int dir) {
16 this.dir = dir;
17 }
18}
Winding direction, either clockwise (CW) or counter-clockwise (CCW).
Definition: Winding.java:6
CW
Clockwise (Cw) negative winding direction.
Definition: Winding.java:8
final int dir
The winding direction sign, i.e.
Definition: Winding.java:13
CCW
Counter-Clockwise (CCW) positive winding direction.
Definition: Winding.java:10