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

#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_indices
(
 CALL_DEF_GROUP * agroup,
 CALL_DEF_LISTPOINTS * alpoints,
 CALL_DEF_LISTEDGES * aledges,
 CALL_DEF_LISTINTEGERS * albounds
 )
{
  if (! agroup->IsOpen) call_togl_opengroup (agroup);
  call_subr_polygon_indices (alpoints, aledges, albounds);
  if (! agroup->IsOpen) call_togl_closegroup (agroup);
  return;
}