summaryrefslogtreecommitdiff
path: root/src/OpenGl/OpenGl_togl_polygon_set.cxx
blob: 76b41e292d8ed487547e8ab9bb2924b151b39623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#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_polygon_set
(
 CALL_DEF_GROUP * agroup,
 CALL_DEF_LISTFACETS * alfacets
 )
{
  if (! agroup->IsOpen) call_togl_opengroup (agroup);
  call_subr_polygon_set (alfacets);
  if (! agroup->IsOpen) call_togl_closegroup (agroup);
  return;
}