7fd59977 |
1 | #include <OpenGl_tgl_all.hxx> |
2 | |
3 | #include <InterfaceGraphic_Labels.hxx> |
4 | #include <InterfaceGraphic_Graphic3d.hxx> |
5 | |
6 | #include <OpenGl_tgl_funcs.hxx> |
7 | #include <OpenGl_tgl.hxx> |
8 | |
9 | void EXPORT call_togl_degeneratestructure ( CALL_DEF_STRUCTURE* astructure ) { |
10 | |
11 | call_func_set_edit_mode ( CALL_PHIGS_EDIT_REPLACE ); |
12 | call_func_open_struct ( astructure -> Id ); |
13 | call_func_set_elem_ptr ( 0 ); |
14 | call_func_set_elem_ptr_label ( Structure_LABDegenerateModel ); |
15 | call_func_offset_elem_ptr ( 1 ); |
16 | call_func_set_degenerate_model ( |
17 | astructure -> ContextFillArea.DegenerationMode, |
18 | astructure -> ContextFillArea.SkipRatio |
19 | ); |
20 | call_func_close_struct (); |
21 | |
22 | } /* end call_togl_degeneratestructure */ |