Panda3D
Loading...
Searching...
No Matches
bulletFilterCallbackData.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 bulletFilterCallbackData.I
10 * @author enn0x
11 * @date 2012-11-26
12 */
13
14/**
15 *
16 */
17INLINE BulletFilterCallbackData::
18BulletFilterCallbackData(PandaNode *node0, PandaNode *node1) :
19 _node0(node0),
20 _node1(node1),
21 _collide(false) {
22
23}
24
25/**
26 *
27 */
28INLINE PandaNode *BulletFilterCallbackData::
29get_node_0() const {
30
31 return _node0;
32}
33
34/**
35 *
36 */
37INLINE PandaNode *BulletFilterCallbackData::
38get_node_1() const {
39
40 return _node1;
41}
42
43/**
44 *
45 */
46INLINE bool BulletFilterCallbackData::
47get_collide() const {
48
49 return _collide;
50}
51
52/**
53 *
54 */
55INLINE void BulletFilterCallbackData::
56set_collide(bool collide) {
57
58 _collide = collide;
59}
A basic node of the scene graph or data graph.
Definition pandaNode.h:65