Panda3D
Loading...
Searching...
No Matches
panda
src
physx
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
14
#include "
physxConstraintDominance.h
"
15
16
/**
17
* Retruns the first dominance factor.
18
*/
19
float
PhysxConstraintDominance::
20
get_0
()
const
{
21
22
return
_dominance.dominance0;
23
}
24
25
/**
26
* Returns the second dominance factor.
27
*/
28
float
PhysxConstraintDominance::
29
get_1
()
const
{
30
31
return
_dominance.dominance1;
32
}
33
34
/**
35
* Sets the first dominance factor.
36
*/
37
void
PhysxConstraintDominance::
38
set_0
(
float
d0) {
39
40
_dominance.dominance0 = d0;
41
}
42
43
/**
44
* Sets the second dominance factor.
45
*/
46
void
PhysxConstraintDominance::
47
set_1
(
float
d1) {
48
49
_dominance.dominance1 = d1;
50
}
PhysxConstraintDominance::get_1
float get_1() const
Returns the second dominance factor.
Definition
physxConstraintDominance.cxx:29
PhysxConstraintDominance::get_0
float get_0() const
Retruns the first dominance factor.
Definition
physxConstraintDominance.cxx:20
PhysxConstraintDominance::set_1
void set_1(float d1)
Sets the second dominance factor.
Definition
physxConstraintDominance.cxx:47
PhysxConstraintDominance::set_0
void set_0(float d0)
Sets the first dominance factor.
Definition
physxConstraintDominance.cxx:38
physxConstraintDominance.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Jan 8 2024 17:18:44 for Panda3D by
1.10.0