Panda3D
physxConstraintDominance.I
1 // Filename: physxConstraintDominance.I
2 // Created by: enn0x (22Dec09)
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: PhysxConstraintDominance::Constructor
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE PhysxConstraintDominance::
22 PhysxConstraintDominance(float d0, float d1) : _dominance(d0, d1) {
23 
24 }
25 
26 ////////////////////////////////////////////////////////////////////
27 // Function: PhysxConstraintDominance::Destructor
28 // Access: Published
29 // Description:
30 ////////////////////////////////////////////////////////////////////
31 INLINE PhysxConstraintDominance::
32 ~PhysxConstraintDominance() {
33 
34 }
35 
36 ////////////////////////////////////////////////////////////////////
37 // Function: PhysxConstraintDominance::get_dominance
38 // Access: Public
39 // Description:
40 ////////////////////////////////////////////////////////////////////
41 INLINE NxConstraintDominance PhysxConstraintDominance::
42 get_dominance() const {
43 
44  return _dominance;
45 }
46 
47 ////////////////////////////////////////////////////////////////////
48 // Function: PhysxConstraintDominance::set_dominance
49 // Access: Public
50 // Description:
51 ////////////////////////////////////////////////////////////////////
52 INLINE void PhysxConstraintDominance::
53 set_dominance(NxConstraintDominance value) {
54 
55  _dominance = value;
56 }
57