returns a new BaseMesh that draws up to numPoints. call vertex() to get a FloatBuffer into which you can put vertex data, aux(...) to get FloatBuffers to put aux data. for example: list = pointList(2).vertex().put([0,0,0]).put([1,1,1]) will give you a point list that draws two points
(int numPoints)
| 362 | * will give you a point list that draws two points, one at the origin, one at 1,1,1 |
| 363 | */ |
| 364 | static public BaseMesh pointList(int numPoints) { |
| 365 | return standard(numPoints, 0, GL_POINTS, 0); |
| 366 | } |
| 367 | |
| 368 | /** |
| 369 | * returns a new BaseMesh that draws up to numPoints vertices and numElement lines. |
no test coverage detected