Panda3D
collisionHandler.I
1 // Filename: collisionHandler.I
2 // Created by: WDIG (15Aug07)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 ////////////////////////////////////////////////////////////////////
16 // Function: CollisionHandler::wants_all_potential_collidees
17 // Access: Private
18 // Description: Returns true if handler wants to know about all
19 // solids that are within the collider's bounding
20 // volume
21 ////////////////////////////////////////////////////////////////////
22 INLINE bool CollisionHandler::
24  return _wants_all_potential_collidees;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: CollisionHandler::set_root
29 // Access: Private
30 // Description: Sets the root of the collision traversal. Only set
31 // if wants_all_potential_collidees is true
32 ////////////////////////////////////////////////////////////////////
33 INLINE void CollisionHandler::
34 set_root(const NodePath &root) {
35  _root = &root;
36 }
bool wants_all_potential_collidees() const
Returns true if handler wants to know about all solids that are within the collider's bounding volume...
void set_root(const NodePath &root)
Sets the root of the collision traversal.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition: nodePath.h:165