Panda3D
Loading...
Searching...
No Matches
bulletContactCallbackData.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 bulletContactCallbackData.I
10 * @author enn0x
11 * @date 2012-11-22
12 */
13
14/**
15 *
16 */
17INLINE BulletContactCallbackData::
18BulletContactCallbackData(BulletManifoldPoint &mp, PandaNode *node0, PandaNode *node1, int id0, int id1, int index0, int index1) :
19 _mp(mp),
20 _node0(node0),
21 _node1(node1),
22 _id0(id0),
23 _id1(id1),
24 _index0(index0),
25 _index1(index1) {
26
27}
28
29/**
30 *
31 */
32INLINE BulletManifoldPoint &BulletContactCallbackData::
33get_manifold() const {
34
35 return _mp;
36}
37
38/**
39 *
40 */
41INLINE PandaNode *BulletContactCallbackData::
42get_node0() const {
43
44 return _node0;
45}
46
47/**
48 *
49 */
50INLINE PandaNode *BulletContactCallbackData::
51get_node1() const {
52
53 return _node1;
54}
55
56/**
57 *
58 */
59INLINE int BulletContactCallbackData::
60get_part_id0() const {
61
62 return _id0;
63}
64
65/**
66 *
67 */
68INLINE int BulletContactCallbackData::
69get_part_id1() const {
70
71 return _id1;
72}
73
74/**
75 *
76 */
77INLINE int BulletContactCallbackData::
78get_index0() const {
79
80 return _index0;
81}
82
83/**
84 *
85 */
86INLINE int BulletContactCallbackData::
87get_index1() const {
88
89 return _index1;
90}
A basic node of the scene graph or data graph.
Definition pandaNode.h:65