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 | |
9 | void EXPORT |
10 | call_togl_polygon_indices |
11 | ( |
12 | CALL_DEF_GROUP * agroup, |
13 | CALL_DEF_LISTPOINTS * alpoints, |
14 | CALL_DEF_LISTEDGES * aledges, |
15 | CALL_DEF_LISTINTEGERS * albounds |
16 | ) |
17 | { |
18 | if (! agroup->IsOpen) call_togl_opengroup (agroup); |
19 | call_subr_polygon_indices (alpoints, aledges, albounds); |
20 | if (! agroup->IsOpen) call_togl_closegroup (agroup); |
21 | return; |
22 | } |