Panda3D

cullPlanes.I

00001 // Filename: cullPlanes.I
00002 // Created by:  drose (23Aug05)
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 ////////////////////////////////////////////////////////////////////
00017 //     Function: CullPlanes::Constructor
00018 //       Access: Protected
00019 //  Description: 
00020 ////////////////////////////////////////////////////////////////////
00021 INLINE CullPlanes::
00022 CullPlanes() {
00023 }
00024 
00025 ////////////////////////////////////////////////////////////////////
00026 //     Function: CullPlanes::Copy Constructor
00027 //       Access: Protected
00028 //  Description: 
00029 ////////////////////////////////////////////////////////////////////
00030 INLINE CullPlanes::
00031 CullPlanes(const CullPlanes &copy) :
00032   _planes(copy._planes),
00033   _occluders(copy._occluders)
00034 {
00035 }
00036 
00037 ////////////////////////////////////////////////////////////////////
00038 //     Function: CullPlanes::Copy Assignment Operator
00039 //       Access: Protected
00040 //  Description: 
00041 ////////////////////////////////////////////////////////////////////
00042 INLINE void CullPlanes::
00043 operator = (const CullPlanes &copy) {
00044   _planes = copy._planes;
00045   _occluders = copy._occluders;
00046 }
00047 
00048 ////////////////////////////////////////////////////////////////////
00049 //     Function: CullPlanes::Destructor
00050 //       Access: Public
00051 //  Description: 
00052 ////////////////////////////////////////////////////////////////////
00053 INLINE CullPlanes::
00054 ~CullPlanes() {
00055 }
00056 
00057 ////////////////////////////////////////////////////////////////////
00058 //     Function: CullPlanes::is_empty
00059 //       Access: Public
00060 //  Description: Returns true if there are no planes listed in the
00061 //               CullPlanes object.
00062 ////////////////////////////////////////////////////////////////////
00063 INLINE bool CullPlanes::
00064 is_empty() const {
00065   return _planes.empty() && _occluders.empty();
00066 
00067 }
 All Classes Functions Variables Enumerations