Panda3D
panda
src
bullet
bulletContactResult.I
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 bulletContactResult.I
10
* @author enn0x
11
* @date 2010-03-08
12
*/
13
14
/**
15
*
16
*/
17
INLINE
PandaNode
*BulletContact::
18
get_node0()
const
{
19
20
return
_node0;
21
}
22
23
/**
24
*
25
*/
26
INLINE
PandaNode
*BulletContact::
27
get_node1()
const
{
28
29
return
_node1;
30
}
31
32
/**
33
*
34
*/
35
INLINE
BulletManifoldPoint
&BulletContact::
36
get_manifold_point() {
37
38
return
_mp;
39
}
40
41
/**
42
*
43
*/
44
INLINE
int
BulletContact::
45
get_idx0()
const
{
46
47
return
_idx0;
48
}
49
50
/**
51
*
52
*/
53
INLINE
int
BulletContact::
54
get_idx1()
const
{
55
56
return
_idx1;
57
}
58
59
/**
60
*
61
*/
62
INLINE
int
BulletContact::
63
get_part_id0()
const
{
64
65
return
_part_id0;
66
}
67
68
/**
69
*
70
*/
71
INLINE
int
BulletContact::
72
get_part_id1()
const
{
73
74
return
_part_id1;
75
}
76
77
/**
78
*
79
*/
80
INLINE
int
BulletContactResult::
81
get_num_contacts()
const
{
82
83
return
_contacts.size();
84
}
85
86
/**
87
*
88
*/
89
INLINE
BulletContact
BulletContactResult::
90
get_contact(
int
idx) {
91
92
nassertr(idx >= 0 && idx < (
int
)_contacts.size(), _empty);
93
return
_contacts[idx];
94
}
PandaNode
A basic node of the scene graph or data graph.
Definition:
pandaNode.h:64
BulletContact
Definition:
bulletContactResult.h:27
BulletManifoldPoint
Definition:
bulletManifoldPoint.h:27
Generated on Wed Jan 23 2019 21:39:51 for Panda3D by
1.8.15