0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / OpenGl / OpenGl_togl_triangle.cxx
CommitLineData
7fd59977 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
9void EXPORT
10call_togl_triangle
11(
12 CALL_DEF_GROUP * agroup,
13 CALL_DEF_TRIKE * atrike
14 )
15{
16 if (! agroup->IsOpen) call_togl_opengroup (agroup);
17 call_subr_triangle (atrike);
18 if (! agroup->IsOpen) call_togl_closegroup (agroup);
19 return;
20}