summaryrefslogtreecommitdiff
path: root/src/OpenGl/OpenGl_togl_triangle.cxx
blob: e1ec2a776eb12717e7b0a01375974a7e62fc785d (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_triangle
(
 CALL_DEF_GROUP * agroup,
 CALL_DEF_TRIKE * atrike
 )
{
  if (! agroup->IsOpen) call_togl_opengroup (agroup);
  call_subr_triangle (atrike);
  if (! agroup->IsOpen) call_togl_closegroup (agroup);
  return;
}