0022819: Redesign of OpenGl driver
[occt.git] / src / OpenGl / OpenGl_togl_polyline.cxx
diff --git a/src/OpenGl/OpenGl_togl_polyline.cxx b/src/OpenGl/OpenGl_togl_polyline.cxx
deleted file mode 100755 (executable)
index 61038a5..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-
-#include <OpenGl_tgl_all.hxx>
-#include <InterfaceGraphic_Graphic3d.hxx>
-#include <OpenGl_tgl.hxx>
-#include <OpenGl_tgl_funcs.hxx>
-#include <OpenGl_tgl_subrs.hxx>
-#include <OpenGl_tgl_utilgr.hxx>
-
-void EXPORT
-call_togl_polyline
-(
- CALL_DEF_GROUP * agroup,
- CALL_DEF_LISTPOINTS * alpoints
- )
-{
-  if (! agroup->IsOpen) call_togl_opengroup (agroup);
-  switch (alpoints->TypePoints) {
-    case 1 : /* Vertex Coordinates Specified */
-      call_subr_polyline (alpoints);
-      break;
-    case 3 : /* Coordinates and Vertex Colour Specified */
-      call_subr_polyline_data (alpoints);
-      break;
-  }
-  if (! agroup->IsOpen) call_togl_closegroup (agroup);
-  return;
-}