Panda3D
physxJointLimitDesc.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 physxJointLimitDesc.h
10  * @author enn0x
11  * @date 2009-09-28
12  */
13 
14 #ifndef PHYSXJOINTLIMITDESC_H
15 #define PHYSXJOINTLIMITDESC_H
16 
17 #include "pandabase.h"
18 
19 #include "physx_includes.h"
20 
21 /**
22  * Describes a joint limit.
23  */
24 class EXPCL_PANDAPHYSX PhysxJointLimitDesc {
25 
26 PUBLISHED:
27  INLINE PhysxJointLimitDesc();
28  INLINE PhysxJointLimitDesc(float value, float restitution, float hardness);
29  INLINE ~PhysxJointLimitDesc();
30 
31  void set_value(float value);
32  void set_restitution(float restitution);
33  void set_hardness(float hardness);
34 
35  float get_value() const;
36  float get_restitution() const;
37  float get_hardness() const;
38 
39 public:
40  NxJointLimitDesc _desc;
41 };
42 
43 #include "physxJointLimitDesc.I"
44 
45 #endif // PHYSXJOINTLIMITDESC_H
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Describes a joint limit.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.