Panda3D
 All Classes Functions Variables Enumerations
frustum.h
1 // Filename: frustum.h
2 // Created by: mike (09Jan97)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 #ifndef FRUSTUM_H
15 #define FRUSTUM_H
16 //
17 ////////////////////////////////////////////////////////////////////
18 // Includes
19 ////////////////////////////////////////////////////////////////////
20 #include "pandabase.h"
21 #include <math.h>
22 #include "luse.h"
23 #include "config_mathutil.h"
24 
25 #include "fltnames.h"
26 #include "frustum_src.h"
27 
28 #include "dblnames.h"
29 #include "frustum_src.h"
30 
31 #ifndef STDFLOAT_DOUBLE
32 typedef LFrustumf LFrustum;
33 #else
34 typedef LFrustumd LFrustum;
35 #endif
36 
37 // Bogus typedefs for interrogate and legacy Python code.
38 #ifdef CPPPARSER
39 typedef LFrustumf FrustumF;
40 typedef LFrustumd FrustumD;
41 #ifndef STDFLOAT_DOUBLE
42 typedef LFrustumf Frustum;
43 #else
44 typedef LFrustumd Frustum;
45 #endif
46 #endif // CPPPARSER
47 
48 #endif