Panda3D
|
00001 // Filename: physxConstraintDominance.I 00002 // Created by: enn0x (22Dec09) 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: PhysxConstraintDominance::Constructor 00018 // Access: Published 00019 // Description: 00020 //////////////////////////////////////////////////////////////////// 00021 INLINE PhysxConstraintDominance:: 00022 PhysxConstraintDominance(float d0, float d1) : _dominance(d0, d1) { 00023 00024 } 00025 00026 //////////////////////////////////////////////////////////////////// 00027 // Function: PhysxConstraintDominance::Destructor 00028 // Access: Published 00029 // Description: 00030 //////////////////////////////////////////////////////////////////// 00031 INLINE PhysxConstraintDominance:: 00032 ~PhysxConstraintDominance() { 00033 00034 } 00035 00036 //////////////////////////////////////////////////////////////////// 00037 // Function: PhysxConstraintDominance::get_dominance 00038 // Access: Public 00039 // Description: 00040 //////////////////////////////////////////////////////////////////// 00041 INLINE NxConstraintDominance PhysxConstraintDominance:: 00042 get_dominance() const { 00043 00044 return _dominance; 00045 } 00046 00047 //////////////////////////////////////////////////////////////////// 00048 // Function: PhysxConstraintDominance::set_dominance 00049 // Access: Public 00050 // Description: 00051 //////////////////////////////////////////////////////////////////// 00052 INLINE void PhysxConstraintDominance:: 00053 set_dominance(NxConstraintDominance value) { 00054 00055 _dominance = value; 00056 } 00057