Panda3D
|
00001 #ifndef ODENULLJOINT_H 00002 #define ODENULLJOINT_H 00003 00004 #include "pandabase.h" 00005 #include "luse.h" 00006 00007 #include "ode_includes.h" 00008 00009 #include "odeJoint.h" 00010 00011 //////////////////////////////////////////////////////////////////// 00012 // Class : OdeNullJoint 00013 // Description : 00014 //////////////////////////////////////////////////////////////////// 00015 class EXPCL_PANDAODE OdeNullJoint : public OdeJoint { 00016 friend class OdeJoint; 00017 00018 private: 00019 OdeNullJoint(dJointID id); 00020 00021 PUBLISHED: 00022 OdeNullJoint(OdeWorld &world); 00023 OdeNullJoint(OdeWorld &world, OdeJointGroup &joint_group); 00024 virtual ~OdeNullJoint(); 00025 00026 public: 00027 static TypeHandle get_class_type() { 00028 return _type_handle; 00029 } 00030 static void init_type() { 00031 OdeJoint::init_type(); 00032 register_type(_type_handle, "OdeNullJoint", 00033 OdeJoint::get_class_type()); 00034 } 00035 virtual TypeHandle get_type() const { 00036 return get_class_type(); 00037 } 00038 virtual TypeHandle force_init_type() {init_type(); return get_class_type();} 00039 00040 private: 00041 static TypeHandle _type_handle; 00042 }; 00043 00044 #include "odeNullJoint.I" 00045 00046 #endif