Panda3D
|
00001 // Filename: pta_LMatrix3.h 00002 // Created by: drose (27Feb10) 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 PTA_LMATRIX3_H 00016 #define PTA_LMATRIX3_H 00017 00018 #include "pandabase.h" 00019 #include "luse.h" 00020 #include "pointerToArray.h" 00021 00022 //////////////////////////////////////////////////////////////////// 00023 // Class : PTA_LMatrix3f 00024 // Description : A pta of LMatrix3fs. This class is defined once here, 00025 // and exported to PANDA.DLL; other packages that want 00026 // to use a pta of this type (whether they need to 00027 // export it or not) should include this header file, 00028 // rather than defining the pta again. 00029 //////////////////////////////////////////////////////////////////// 00030 00031 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToBase<ReferenceCountedVector<LMatrix3f> >) 00032 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArrayBase<LMatrix3f>) 00033 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArray<LMatrix3f>) 00034 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, ConstPointerToArray<LMatrix3f>) 00035 00036 typedef PointerToArray<LMatrix3f> PTA_LMatrix3f; 00037 typedef ConstPointerToArray<LMatrix3f> CPTA_LMatrix3f; 00038 00039 //////////////////////////////////////////////////////////////////// 00040 // Class : PTA_LMatrix3d 00041 // Description : A pta of LMatrix3ds. This class is defined once here, 00042 // and exported to PANDA.DLL; other packages that want 00043 // to use a pta of this type (whether they need to 00044 // export it or not) should include this header file, 00045 // rather than defining the pta again. 00046 //////////////////////////////////////////////////////////////////// 00047 00048 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToBase<ReferenceCountedVector<LMatrix3d> >) 00049 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArrayBase<LMatrix3d>) 00050 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, PointerToArray<LMatrix3d>) 00051 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, ConstPointerToArray<LMatrix3d>) 00052 00053 typedef PointerToArray<LMatrix3d> PTA_LMatrix3d; 00054 typedef ConstPointerToArray<LMatrix3d> CPTA_LMatrix3d; 00055 00056 #ifndef STDFLOAT_DOUBLE 00057 typedef PTA_LMatrix3f PTA_LMatrix3; 00058 typedef CPTA_LMatrix3f CPTA_LMatrix3; 00059 #else 00060 typedef PTA_LMatrix3d PTA_LMatrix3; 00061 typedef CPTA_LMatrix3d CPTA_LMatrix3; 00062 #endif // STDFLOAT_DOUBLE 00063 00064 // Bogus typedefs for interrogate and legacy Python code. 00065 #ifdef CPPPARSER 00066 typedef PTA_LMatrix3 PTAMat3; 00067 typedef CPTA_LMatrix3 CPTAMat3; 00068 typedef PTA_LMatrix3d PTAMat3d; 00069 typedef CPTA_LMatrix3d CPTAMat3d; 00070 #endif // CPPPARSER 00071 00072 // Tell GCC that we'll take care of the instantiation explicitly here. 00073 #ifdef __GNUC__ 00074 #pragma interface 00075 #endif 00076 00077 #endif