Panda3D

binCullHandler.cxx

00001 // Filename: binCullHandler.cxx
00002 // Created by:  drose (28Feb02)
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 #include "binCullHandler.h"
00016 #include "pStatTimer.h"
00017 
00018 ////////////////////////////////////////////////////////////////////
00019 //     Function: BinCullHandler::record_object
00020 //       Access: Public, Virtual
00021 //  Description: This callback function is intended to be overridden
00022 //               by a derived class.  This is called as each Geom is
00023 //               discovered by the CullTraverser.
00024 ////////////////////////////////////////////////////////////////////
00025 void BinCullHandler::
00026 record_object(CullableObject *object, const CullTraverser *traverser) {
00027   _cull_result->add_object(object, traverser);
00028 }
 All Classes Functions Variables Enumerations