returns a new BaseMesh that draws up to numPoints vertices and numElement lines with adjecency call vertex() to get a FloatBuffer into which you can put vertex data, aux(...) to get FloatBuffers to put aux data and call elements() to connect vertices together with line segments for example:
(int numPoints, int numElements)
| 427 | * will give an triangle. |
| 428 | */ |
| 429 | static public BaseMesh triangleList(int numPoints, int numElements) { |
| 430 | return standard(numPoints, numElements, GL_TRIANGLES, 3); |
| 431 | } |
| 432 | |
| 433 | /** |
| 434 | * destroy this mesh and all OpenGL resources associated with it. |
no test coverage detected