java.lang.Object
de.grogra.imp3d.VertexArray
de.grogra.imp3d.LineArray
This class represents a list of line strips.
- Author:
- Ole Kniemeyer
-
Field Summary
Fields inherited from class de.grogra.imp3d.VertexArray
dimension, userObject, vertices
-
Constructor Summary
-
Method Summary
Methods inherited from class de.grogra.imp3d.VertexArray
addVertex, addVertex, addVertex, computeNormal, init, wasCleared
-
Field Details
-
lines
Specifies the line strips. Each line strip is represented by a contiguous sequence of vertex indices intoVertexArray.vertices
. Line strips are separated by negative values in this list. Thus, the individual strips may be of different length.Note that vertex indices have to me multiplied by
VertexArray.dimension
in order to obtain list indices forVertexArray.vertices
.
-
-
Constructor Details
-
LineArray
public LineArray()
-
-
Method Details
-
freeArrays
public void freeArrays()- Overrides:
freeArrays
in classVertexArray
-