blob: 0b3c8dc210994c5922a3401244604299ae91a719 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.jogamp.math.geom.plane;
/**
* Winding direction, either clockwise (CW) or counter-clockwise (CCW).
*/
public enum Winding {
/** Clockwise (Cw) negative winding direction */
CW(-1),
/** Counter-Clockwise (CCW) positive winding direction */
CCW(1);
/** The winding direction sign, i.e. positive 1 for CCW and negative -1 for CW. */
public final int dir;
Winding(final int dir) {
this.dir = dir;
}
}
|