Panda3D
physxJointLimitSoftDesc.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file physxJointLimitSoftDesc.h
10  * @author enn0x
11  * @date 2009-10-01
12  */
13 
14 #ifndef PHYSXJOINTLIMITSOFTDESC_H
15 #define PHYSXJOINTLIMITSOFTDESC_H
16 
17 #include "pandabase.h"
18 
19 #include "physx_includes.h"
20 
21 /**
22  * Describes a joint limit.
23  */
24 class EXPCL_PANDAPHYSX PhysxJointLimitSoftDesc {
25 
26 PUBLISHED:
27  INLINE PhysxJointLimitSoftDesc();
28  INLINE PhysxJointLimitSoftDesc(float value, float restitution, float spring, float damping);
29  INLINE ~PhysxJointLimitSoftDesc();
30 
31  void set_value(float value);
32  void set_restitution(float restitution);
33  void set_spring(float spring);
34  void set_damping(float damping);
35 
36  float get_value() const;
37  float get_restitution() const;
38  float get_spring() const;
39  float get_damping() const;
40 
41 public:
42  NxJointLimitSoftDesc _desc;
43 };
44 
46 
47 #endif // PHYSXJOINTLIMITSOFTDESC_H
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Describes a joint limit.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.