0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / OpenGl / OpenGl_togl_plane.cxx
CommitLineData
7fd59977 1/***********************************************************************
2
3FONCTION :
4----------
5File OpenGl_togl_plane :
6
7
8REMARQUES:
9----------
10
11
12HISTORIQUE DES MODIFICATIONS :
13--------------------------------
14xx-xx-xx : xxx ; Creation.
1505-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
28long EXPORT
29call_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}