Many fixes, now generates a single image per frame.
[dyncnn.git] / universe.cc
index 658c32c..2b1383d 100644 (file)
@@ -138,37 +138,6 @@ Polygon *Universe::pick_polygon(scalar_t x, scalar_t y) {
   return 0;
 }
 
-#ifdef XFIG_SUPPORT
-void Universe::print_xfig(XFigTracer *tracer) {
-  for(int n = 0; n < _nb_polygons; n++) {
-    if(_polygons[n]) {
-      _polygons[n]->color_xfig(tracer);
-    }
-  }
-  for(int n = 0; n < _nb_polygons; n++) {
-    if(_polygons[n]) {
-      _polygons[n]->print_xfig(tracer);
-    }
-  }
-}
-#endif
-
-#ifdef X11_SUPPORT
-void Universe::draw(SimpleWindow *window) {
-  for(int n = 0; n < _nb_polygons; n++) {
-    if(_polygons[n]) {
-      _polygons[n]->draw(window);
-    }
-  }
-
-  for(int n = 0; n < _nb_polygons; n++) {
-    if(_polygons[n]) {
-      _polygons[n]->draw_contours(window);
-    }
-  }
-}
-#endif
-
 void Universe::draw(Canvas *canvas) {
   for(int n = 0; n < _nb_polygons; n++) {
     if(_polygons[n]) {