Panda3D
panda
src
physx
physxConstraintDominance.h
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.h
10
* @author enn0x
11
* @date 2009-12-22
12
*/
13
14
#ifndef PHYSXCONSTRAINTDOMINANCE_H
15
#define PHYSXCONSTRAINTDOMINANCE_H
16
17
#include "
pandabase.h
"
18
#include "
luse.h
"
19
20
#include "
config_physx.h
"
21
22
class
PhysxShape
;
23
24
/**
25
* Expresses the dominance relationship of a constraint. For the time being
26
* only three settings are permitted:. (1.0f, 1.0f), (0.0f, 1.0f), and (1.0f,
27
* 0.0f).
28
*
29
* See PhysxScene::set_dominance_group_pair for a detailed explanation of
30
* dominance behaviour.
31
*/
32
class
EXPCL_PANDAPHYSX
PhysxConstraintDominance
{
33
34
PUBLISHED:
35
INLINE
PhysxConstraintDominance
(
float
d0,
float
d1);
36
INLINE ~
PhysxConstraintDominance
();
37
38
float
get_0()
const
;
39
float
get_1()
const
;
40
void
set_0(
float
d0);
41
void
set_1(
float
d1);
42
43
public
:
44
INLINE
void
set_dominance(NxConstraintDominance value);
45
INLINE NxConstraintDominance get_dominance()
const
;
46
47
private
:
48
NxConstraintDominance _dominance;
49
};
50
51
#include "
physxConstraintDominance.I
"
52
53
#endif // PHYSXCONSTRAINTDOMINANCE_H
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
luse.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxConstraintDominance.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PhysxConstraintDominance
Expresses the dominance relationship of a constraint.
Definition:
physxConstraintDominance.h:32
PhysxShape
Abstract base class for shapes.
Definition:
physxShape.h:39
config_physx.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Sep 14 2020 15:07:04 for Panda3D by
1.8.20