00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PHYSXSPRINGDESC_H
00016 #define PHYSXSPRINGDESC_H
00017
00018 #include "pandabase.h"
00019
00020 #include "physx_includes.h"
00021
00022
00023
00024
00025
00026
00027
00028 class PhysxSpringDesc {
00029
00030 PUBLISHED:
00031 INLINE PhysxSpringDesc();
00032 INLINE PhysxSpringDesc(float spring, float damper=0, float targetValue=0);
00033 INLINE ~PhysxSpringDesc();
00034
00035 void set_spring(float spring);
00036 void set_damper(float damper);
00037 void set_target_value(float target);
00038
00039 float get_spring() const;
00040 float get_damper() const;
00041 float get_target_value() const;
00042
00043 public:
00044 NxSpringDesc _desc;
00045 };
00046
00047 #include "physxSpringDesc.I"
00048
00049 #endif // PHYSXSPRINGDESC_H