0022819: Redesign of OpenGl driver
[occt.git] / src / OpenGl / OpenGl_togl_plane.cxx
1 /***********************************************************************
2
3 FONCTION :
4 ----------
5 File OpenGl_togl_plane :
6
7
8 REMARQUES:
9 ---------- 
10
11
12 HISTORIQUE DES MODIFICATIONS   :
13 --------------------------------
14 xx-xx-xx : xxx ; Creation.
15 05-02-97 : FMN ; Suppression de OpenGl_tgl_vis.h
16
17 ************************************************************************/
18
19 /*----------------------------------------------------------------------*/
20 /*
21 * Includes
22 */
23
24 #include <OpenGl_tgl_all.hxx>
25 #include <InterfaceGraphic_Graphic3d.hxx>
26 #include <InterfaceGraphic_Visual3d.hxx>
27
28 long EXPORT
29 call_togl_plane
30 (
31  CALL_DEF_PLANE * aplane,
32  long update
33  )
34 {
35   static  long  NbPlanes = 1;
36
37   /* rest of the code is redundant */
38
39   return  update ? aplane->PlaneId : NbPlanes++;
40 }