triVertices[triangulator.points.size()+i]=new Vertex3d(new Point3d(curPoint.x,curPoint.y,extz/2),norm2,null,null,new TexCoord2f());
}
li = triangulator.triangles.listIterator();
for (int i=0; li.hasNext(); i++) {
Triangle curTri = (Triangle)li.next();
indices[i*3]=triangulator.indexOfPoint(curTri.vertices[2]);
indices[i*3+1]=triangulator.indexOfPoint(curTri.vertices[1]);
indices[i*3+2]=triangulator.indexOfPoint(curTri.vertices[0]);
indices[triangulator.triangles.size()*3+i*3]=triangulator.points.size()+indices[i*3+2];
indices[triangulator.triangles.size()*3+i*3+1]=triangulator.points.size()+indices[i*3+1];