Panda3D
|
00001 // Filename: aa_luse.h 00002 // Created by: drose (13Jan99) 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 00015 #ifndef AA_LUSE_H 00016 #define AA_LUSE_H 00017 00018 // This file is include by luse.h to do all the work required by that 00019 // header file. It is in a separate header file to avoid cyclic 00020 // header dependencies, and because interrogate wants to sort header 00021 // files in alphabetical order and this one should pretty much be 00022 // included first. 00023 00024 #include "pandabase.h" 00025 00026 #include "stl_compares.h" 00027 #include "lvec2_ops.h" 00028 #include "lvec3_ops.h" 00029 #include "lvec4_ops.h" 00030 #include "lmat_ops.h" 00031 #include "lmatrix.h" 00032 #include "lquaternion.h" 00033 #include "lrotation.h" 00034 #include "lorientation.h" 00035 #include "lcast_to.h" 00036 00037 //ensure FLOATTYPE is set to float for macros are used outside of LINMATH 00038 #include "fltnames.h" 00039 00040 // This macro defines the cast-to-another-numeric-type operator for 00041 // all of the things defined in this package. It works by virtue of 00042 // there being an appropriate lcast_to() template function defined for 00043 // each class. 00044 00045 #define LCAST(numeric_type, object) lcast_to((numeric_type *)0, object) 00046 00047 00048 // Now we define some handy typedefs for these classes. 00049 typedef LPoint3f Vertexf; 00050 typedef LVector3f Normalf; 00051 typedef LPoint2f TexCoordf; 00052 typedef LPoint3f TexCoord3f; 00053 typedef LVecBase4f Colorf; 00054 typedef LVecBase3f RGBColorf; 00055 00056 typedef LPoint3d Vertexd; 00057 typedef LVector3d Normald; 00058 typedef LPoint2d TexCoordd; 00059 typedef LPoint3d TexCoord3d; 00060 typedef LVecBase4d Colord; 00061 typedef LVecBase3d RGBColord; 00062 00063 00064 #endif 00065