54

Building 3D Shapes
Building a QuadArray

topVertexCount = 8 * toothCount + 2;
topStripCount[0] = topVertexCount;

facetVertexCount = 4;
facetCount = 4;

QuadArray quads = new QuadArray(
    toothCount * facetVertexCount * facetCount,
    GeometryArray.COORDINATES |
    GeometryArray.NORMALS );