Panda3D
|
00001 // Filename: linmath_events.h 00002 // Created by: drose (12Mar02) 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 LINMATH_EVENTS_H 00016 #define LINMATH_EVENTS_H 00017 00018 #include "pandabase.h" 00019 00020 #include "eventParameter.h" 00021 #include "luse.h" 00022 00023 //////////////////////////////////////////////////////////////////// 00024 // 00025 // This file defines a few more EventStore classes for storing linmath 00026 // objects in an EventParameter. We can't define this with the other 00027 // EventStore classes, because linmath hasn't been defined yet at that 00028 // point. 00029 // 00030 // See eventParameter.h. 00031 // 00032 //////////////////////////////////////////////////////////////////// 00033 00034 00035 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, EventStoreValue<LVecBase2>); 00036 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, EventStoreValue<LVecBase3>); 00037 EXPORT_TEMPLATE_CLASS(EXPCL_PANDA_MATHUTIL, EXPTP_PANDA_MATHUTIL, EventStoreValue<LMatrix4>); 00038 00039 typedef EventStoreValue<LVecBase2> EventStoreVec2; 00040 typedef EventStoreValue<LVecBase3> EventStoreVec3; 00041 typedef EventStoreValue<LMatrix4> EventStoreMat4; 00042 00043 00044 // Tell GCC that we'll take care of the instantiation explicitly here. 00045 #ifdef __GNUC__ 00046 #pragma interface 00047 #endif 00048 00049 #endif