Panda3D
 All Classes Functions Variables Enumerations
physxJointLimitSoftDesc.I
1 // Filename: physxJointLimitSoftDesc.I
2 // Created by: enn0x (01Oct09)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: PhysxJointLimitSoftDesc::Constructor
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE PhysxJointLimitSoftDesc::
22 PhysxJointLimitSoftDesc() {
23 
24 }
25 
26 ////////////////////////////////////////////////////////////////////
27 // Function: PhysxJointLimitSoftDesc::Constructor
28 // Access: Published
29 // Description:
30 ////////////////////////////////////////////////////////////////////
31 INLINE PhysxJointLimitSoftDesc::
32 PhysxJointLimitSoftDesc(float value, float restitution, float spring, float damping) {
33 
34  _desc.value = value;
35  _desc.restitution = restitution;
36  _desc.spring = spring;
37  _desc.damping = damping;
38 }
39 
40 ////////////////////////////////////////////////////////////////////
41 // Function: PhysxJointLimitSoftDesc::Destructor
42 // Access: Published
43 // Description:
44 ////////////////////////////////////////////////////////////////////
45 INLINE PhysxJointLimitSoftDesc::
46 ~PhysxJointLimitSoftDesc() {
47 
48 }
49