Beispiel #1
0
 public void modify(CSG csg)
 {
     foreach (Polygon p in csg.getPolygons())
     {
         foreach (Vertex v in p.vertices)
         {
             v.setWeight(function.eval(v.pos, csg));
         }
     }
 }