shp_particle.translate(particle.cx, particle.cy, particle.cz);
shp_particle.rotateX(papplet.random(PConstants.TWO_PI));
shp_particle.rotateY(papplet.random(PConstants.TWO_PI));
shp_particle.rotateZ(papplet.random(PConstants.TWO_PI));
shp_particle.setStroke(false);
<BUG>shp_particle.setFill(papplet.color(160));</BUG>
if(ifs == null) ifs = new DwIcosahedron(1);
DwMeshUtils.createPolyhedronShape(shp_particle, ifs, particle.rad, 3, true);
return shp_particle;
}
void display(PGraphics pg) {
pg.shape(shp_particlesystem);
}
}

shp_particle.translate(particle.cx, particle.cy, particle.cz);
shp_particle.rotateX(papplet.random(PConstants.TWO_PI));
shp_particle.rotateY(papplet.random(PConstants.TWO_PI));
shp_particle.rotateZ(papplet.random(PConstants.TWO_PI));
shp_particle.setStroke(false);
if(ifs == null) ifs = new DwIcosahedron(1);
DwMeshUtils.createPolyhedronShape(shp_particle, ifs, particle.rad, 3, true);
return shp_particle;
}
