00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PHYSXWHEEL_H
00016 #define PHYSXWHEEL_H
00017
00018 #include "pandabase.h"
00019 #include "nodePath.h"
00020
00021 #include "physxObject.h"
00022 #include "physx_includes.h"
00023
00024 class PhysxWheelDesc;
00025 class PhysxWheelShape;
00026
00027
00028
00029
00030
00031 class EXPCL_PANDAPHYSX PhysxWheel : public PhysxObject {
00032
00033 PUBLISHED:
00034 INLINE PhysxWheel();
00035 INLINE ~PhysxWheel();
00036
00037
00038
00039
00040
00041
00042
00043
00044 INLINE void ls() const;
00045 INLINE void ls(ostream &out, int indent_level=0) const;
00046
00047 public:
00048
00049 private:
00050 PT(PhysxWheelShape) _wheelShape;
00051 NodePath _np;
00052
00053
00054 public:
00055 static TypeHandle get_class_type() {
00056 return _type_handle;
00057 }
00058 static void init_type() {
00059 PhysxObject::init_type();
00060 register_type(_type_handle, "PhysxWheel",
00061 PhysxObject::get_class_type());
00062 }
00063 virtual TypeHandle get_type() const {
00064 return get_class_type();
00065 }
00066 virtual TypeHandle force_init_type() {
00067 init_type();
00068 return get_class_type();
00069 }
00070
00071 private:
00072 static TypeHandle _type_handle;
00073 };
00074
00075 #include "physxWheel.I"
00076
00077 #endif // PHYSXWHEEL_H