summaryrefslogtreecommitdiff
path: root/src/OpenGl/OpenGl_togl_plane.cxx
blob: 0e1565b36ebe0af36c99143690168508938d7a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/***********************************************************************

FONCTION :
----------
File OpenGl_togl_plane :


REMARQUES:
---------- 


HISTORIQUE DES MODIFICATIONS   :
--------------------------------
xx-xx-xx : xxx ; Creation.
05-02-97 : FMN ; Suppression de OpenGl_tgl_vis.h

************************************************************************/

/*----------------------------------------------------------------------*/
/*
* Includes
*/

#include <OpenGl_tgl_all.hxx>
#include <InterfaceGraphic_Graphic3d.hxx>
#include <InterfaceGraphic_Visual3d.hxx>

long EXPORT
call_togl_plane
(
 CALL_DEF_PLANE * aplane,
 long update
 )
{
  static  long  NbPlanes = 1;

  /* rest of the code is redundant */

  return  update ? aplane->PlaneId : NbPlanes++;
}