summaryrefslogtreecommitdiff
path: root/src/OpenGl/OpenGl_togl_curve.cxx
blob: 25b107c7ffe27689c7487f90c14e2a149cc5be4d (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_curve
(
 CALL_DEF_GROUP * agroup,
 CALL_DEF_LISTPOINTS * alpoints
 )
{
  if (! agroup->IsOpen) call_togl_opengroup (agroup);
  call_subr_curve (alpoints);
  if (! agroup->IsOpen) call_togl_closegroup (agroup);
  return;
}