Commit | Line | Data |
---|---|---|
7fd59977 | 1 | #include <OpenGl_tgl_all.hxx> |
2 | ||
3 | #include <OpenGl_cmn_varargs.hxx> | |
4 | #include <OpenGl_tsm_ws.hxx> | |
5 | ||
6 | #include <InterfaceGraphic_Graphic3d.hxx> | |
7 | #include <InterfaceGraphic_Visual3d.hxx> | |
8 | ||
9 | #include <GL/gl.h> | |
10 | ||
11 | extern GLboolean g_fList; | |
12 | ||
13 | void EXPORT call_togl_backfacing ( CALL_DEF_VIEW* aView ) { | |
14 | ||
15 | CMN_KEY_DATA key; | |
16 | ||
17 | key.ldata = aView -> Backfacing; | |
18 | ||
19 | TsmSetWSAttri ( aView -> WsId, WSBackfacing, &key ); | |
20 | ||
21 | g_fList = GL_FALSE; | |
22 | ||
23 | } /* end call_togl_backfacing */ |