Panda3D
physxConstraintDominance.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file physxConstraintDominance.cxx
10  * @author enn0x
11  * @date 2009-12-22
12  */
13 
15 
16 /**
17  * Retruns the first dominance factor.
18  */
20 get_0() const {
21 
22  return _dominance.dominance0;
23 }
24 
25 /**
26  * Returns the second dominance factor.
27  */
29 get_1() const {
30 
31  return _dominance.dominance1;
32 }
33 
34 /**
35  * Sets the first dominance factor.
36  */
38 set_0(float d0) {
39 
40  _dominance.dominance0 = d0;
41 }
42 
43 /**
44  * Sets the second dominance factor.
45  */
47 set_1(float d1) {
48 
49  _dominance.dominance1 = d1;
50 }
float get_0() const
Retruns the first dominance factor.
void set_1(float d1)
Sets the second dominance factor.
void set_0(float d0)
Sets the first dominance factor.
float get_1() const
Returns the second dominance factor.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.