< Zurück | Inhalt | Weiter >

protected GeomBuffer getCachedGeometry( int kind, float a, float b,

float c, int d, int e, int flags)

{

String key = new String(kind+strfloat(a)+strfloat(b)+ strfloat(c)

+d+e+flags);

Object cache = geomCache.get(key);


return((GeomBuffer) cache);

}


image

 

From Cylinder.java