Panda3D
|
00001 // Filename: frustum.h 00002 // Created by: mike (09Jan97) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 #ifndef FRUSTUM_H 00015 #define FRUSTUM_H 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 // Includes 00019 //////////////////////////////////////////////////////////////////// 00020 #include "pandabase.h" 00021 #include <math.h> 00022 #include "luse.h" 00023 #include "config_mathutil.h" 00024 00025 #include "fltnames.h" 00026 #include "frustum_src.h" 00027 00028 #include "dblnames.h" 00029 #include "frustum_src.h" 00030 00031 #ifndef STDFLOAT_DOUBLE 00032 typedef LFrustumf LFrustum; 00033 #else 00034 typedef LFrustumd LFrustum; 00035 #endif 00036 00037 // Bogus typedefs for interrogate and legacy Python code. 00038 #ifdef CPPPARSER 00039 typedef LFrustumf FrustumF; 00040 typedef LFrustumd FrustumD; 00041 #ifndef STDFLOAT_DOUBLE 00042 typedef LFrustumf Frustum; 00043 #else 00044 typedef LFrustumd Frustum; 00045 #endif 00046 #endif // CPPPARSER 00047 00048 #endif