Panda3D
 All Classes Functions Variables Enumerations
collisionHandler.I
00001 // Filename: collisionHandler.I
00002 // Created by:  WDIG (15Aug07)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 ////////////////////////////////////////////////////////////////////
00016 //     Function: CollisionHandler::wants_all_potential_collidees
00017 //       Access: Private
00018 //  Description: Returns true if handler wants to know about all
00019 //               solids that are within the collider's bounding
00020 //               volume
00021 ////////////////////////////////////////////////////////////////////
00022 INLINE bool CollisionHandler::
00023 wants_all_potential_collidees() const {
00024   return _wants_all_potential_collidees;
00025 }
00026 
00027 ////////////////////////////////////////////////////////////////////
00028 //     Function: CollisionHandler::set_root
00029 //       Access: Private
00030 //  Description: Sets the root of the collision traversal. Only set
00031 //               if wants_all_potential_collidees is true
00032 ////////////////////////////////////////////////////////////////////
00033 INLINE void CollisionHandler::
00034 set_root(const NodePath &root) {
00035   _root = &root;
00036 }
 All Classes Functions Variables Enumerations