Panda3D
|
00001 // Filename: physxJointLimitDesc.I 00002 // Created by: enn0x (28Sep09) 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: PhysxJointLimitDesc::Constructor 00018 // Access: Published 00019 // Description: 00020 //////////////////////////////////////////////////////////////////// 00021 INLINE PhysxJointLimitDesc:: 00022 PhysxJointLimitDesc() { 00023 00024 } 00025 00026 //////////////////////////////////////////////////////////////////// 00027 // Function: PhysxJointLimitDesc::Constructor 00028 // Access: Published 00029 // Description: 00030 //////////////////////////////////////////////////////////////////// 00031 INLINE PhysxJointLimitDesc:: 00032 PhysxJointLimitDesc(float value, float restitution, float hardness) { 00033 00034 _desc.value = value; 00035 _desc.restitution = restitution; 00036 _desc.hardness = hardness; 00037 } 00038 00039 //////////////////////////////////////////////////////////////////// 00040 // Function: PhysxJointLimitDesc::Destructor 00041 // Access: Published 00042 // Description: 00043 //////////////////////////////////////////////////////////////////// 00044 INLINE PhysxJointLimitDesc:: 00045 ~PhysxJointLimitDesc() { 00046 00047 } 00048