< Zurück | Inhalt | Weiter >

From Cylinder.java

//The Geometry Cache in use GeomBuffer cache =

getCachedGeometry( Primitive.CYLINDER, radius, radius height,

xdivision, ydivision, primflags);


if (cache != null)

{

shape[BODY] = new Shape3D(cache.getComputedGeometry()); numVerts += cache.getNumVerts();

numTris += cache.getNumTris();

}


image