< Zurück | Inhalt | Weiter >

private GeometryArray processQuadStrips()

{

GeometryArray obj = null; int i;

int totalVerts = 0;

for (i = 0; i < currPrimCnt; i++)

{

int numQuadStripVerts;

numQuadStripVerts = currPrimEndVertex[i] − currPrimStartVertex[i]; totalVerts += (numQuadStripVerts/2 − 1) * 4;

}


if (debug >= 1) System.out.println("totalVerts " + totalVerts);


if (((flags GENERATE_NORMALS) != 0) ((flags GENERATE_TEXTURE_COORDS) != 0))

{