java.util.ListIterator li = points.listIterator();
for (int i=0; li.hasNext(); i++) {
Point2d point = (Point2d)li.next();
Point3d pos = new Point3d(point.x,point.y,-extz/2);
sideVertices[i*2]=new Vertex3d(pos,new Vector3d((Vector3f)normals.elementAt(i*2)),null,null,new TexCoord2f());
sideVertices[i*2+1]=new Vertex3d(pos,new Vector3d((Vector3f)normals.elementAt(i*2+1)),null,null,new TexCoord2f());
pos = new Point3d(point.x,point.y,extz/2);
sideVertices[points.size()*2+i*2]=new Vertex3d(pos,new Vector3d((Vector3f)normals.elementAt(i*2)),null,null,new TexCoord2f());
sideVertices[points.size()*2+i*2+1]=new Vertex3d(pos,new Vector3d((Vector3f)normals.elementAt(i*2+1)),null,null,new TexCoord2f());
}
for (int i=0; i<points.size()-1; i++) {
//if (outside) {
indices[i*6]=2*i;