protected static class Tessellator.Node
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
idx |
private boolean |
isNextEdgeFromPolygon |
private long |
morton |
private Tessellator.Node |
next |
private Tessellator.Node |
nextZ |
private double[] |
polyX |
private double[] |
polyY |
private Tessellator.Node |
previous |
private Tessellator.Node |
previousZ |
private int |
vrtxIdx |
private int |
x |
private int |
y |
Modifier | Constructor and Description |
---|---|
protected |
Node(double[] x,
double[] y,
int index,
int vertexIndex,
boolean isGeo) |
protected |
Node(Tessellator.Node other)
simple deep copy constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getX()
get the x value
|
double |
getY()
get the y value
|
java.lang.String |
toString() |
private final int idx
private final int vrtxIdx
private final double[] polyX
private final double[] polyY
private final int x
private final int y
private final long morton
private Tessellator.Node previous
private Tessellator.Node next
private Tessellator.Node previousZ
private Tessellator.Node nextZ
private boolean isNextEdgeFromPolygon
protected Node(double[] x, double[] y, int index, int vertexIndex, boolean isGeo)
protected Node(Tessellator.Node other)