0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / OpenGl / OpenGl_togl_polygon_set.cxx
1
2 #include <OpenGl_tgl_all.hxx>
3 #include <InterfaceGraphic_Graphic3d.hxx>
4 #include <OpenGl_tgl.hxx>
5 #include <OpenGl_tgl_funcs.hxx>
6 #include <OpenGl_tgl_subrs.hxx>
7 #include <OpenGl_tgl_utilgr.hxx>
8
9 void EXPORT
10 call_togl_polygon_set
11 (
12  CALL_DEF_GROUP * agroup,
13  CALL_DEF_LISTFACETS * alfacets
14  )
15 {
16   if (! agroup->IsOpen) call_togl_opengroup (agroup);
17   call_subr_polygon_set (alfacets);
18   if (! agroup->IsOpen) call_togl_closegroup (agroup);
19   return;
20 }