Panda3D
physxJointLimitSoftDesc.cxx
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.cxx
10  * @author enn0x
11  * @date 2009-10-01
12  */
13 
15 
16 /**
17  *
18  */
19 void PhysxJointLimitSoftDesc::
20 set_value(float value) {
21 
22  _desc.value = value;
23 }
24 
25 /**
26  *
27  */
28 void PhysxJointLimitSoftDesc::
29 set_restitution(float restitution) {
30 
31  _desc.restitution = restitution;
32 }
33 
34 /**
35  *
36  */
37 void PhysxJointLimitSoftDesc::
38 set_spring(float spring) {
39 
40  _desc.spring = spring;
41 }
42 
43 /**
44  *
45  */
46 void PhysxJointLimitSoftDesc::
47 set_damping(float damping) {
48 
49  _desc.damping = damping;
50 }
51 
52 /**
53  *
54  */
55 float PhysxJointLimitSoftDesc::
56 get_value() const {
57 
58  return _desc.value;
59 }
60 
61 /**
62  *
63  */
64 float PhysxJointLimitSoftDesc::
65 get_restitution() const {
66 
67  return _desc.restitution;
68 }
69 
70 /**
71  *
72  */
73 float PhysxJointLimitSoftDesc::
74 get_spring() const {
75 
76  return _desc.spring;
77 }
78 
79 /**
80  *
81  */
82 float PhysxJointLimitSoftDesc::
83 get_damping() const {
84 
85  return _desc.damping;
86 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.