Panda3D
|
00001 // Filename: physxJointLimitSoftDesc.I 00002 // Created by: enn0x (01Oct09) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: PhysxJointLimitSoftDesc::Constructor 00018 // Access: Published 00019 // Description: 00020 //////////////////////////////////////////////////////////////////// 00021 INLINE PhysxJointLimitSoftDesc:: 00022 PhysxJointLimitSoftDesc() { 00023 00024 } 00025 00026 //////////////////////////////////////////////////////////////////// 00027 // Function: PhysxJointLimitSoftDesc::Constructor 00028 // Access: Published 00029 // Description: 00030 //////////////////////////////////////////////////////////////////// 00031 INLINE PhysxJointLimitSoftDesc:: 00032 PhysxJointLimitSoftDesc(float value, float restitution, float spring, float damping) { 00033 00034 _desc.value = value; 00035 _desc.restitution = restitution; 00036 _desc.spring = spring; 00037 _desc.damping = damping; 00038 } 00039 00040 //////////////////////////////////////////////////////////////////// 00041 // Function: PhysxJointLimitSoftDesc::Destructor 00042 // Access: Published 00043 // Description: 00044 //////////////////////////////////////////////////////////////////// 00045 INLINE PhysxJointLimitSoftDesc:: 00046 ~PhysxJointLimitSoftDesc() { 00047 00048 } 00049