Panda3D
|
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 ©) : 00032 _planes(copy._planes) 00033 { 00034 } 00035 00036 //////////////////////////////////////////////////////////////////// 00037 // Function: CullPlanes::Copy Assignment Operator 00038 // Access: Protected 00039 // Description: 00040 //////////////////////////////////////////////////////////////////// 00041 INLINE void CullPlanes:: 00042 operator = (const CullPlanes ©) { 00043 _planes = copy._planes; 00044 } 00045 00046 //////////////////////////////////////////////////////////////////// 00047 // Function: CullPlanes::Destructor 00048 // Access: Public 00049 // Description: 00050 //////////////////////////////////////////////////////////////////// 00051 INLINE CullPlanes:: 00052 ~CullPlanes() { 00053 } 00054 00055 //////////////////////////////////////////////////////////////////// 00056 // Function: CullPlanes::is_empty 00057 // Access: Public 00058 // Description: Returns true if there are no planes listed in the 00059 // CullPlanes object. 00060 //////////////////////////////////////////////////////////////////// 00061 INLINE bool CullPlanes:: 00062 is_empty() const { 00063 return _planes.empty(); 00064 }