Panda3D
cullPlanes.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file cullPlanes.I
10  * @author drose
11  * @date 2005-08-23
12  */
13 
14 /**
15  *
16  */
17 INLINE CullPlanes::
18 CullPlanes() {
19 }
20 
21 /**
22  *
23  */
24 INLINE CullPlanes::
25 CullPlanes(const CullPlanes &copy) :
26  _planes(copy._planes),
27  _occluders(copy._occluders)
28 {
29 }
30 
31 /**
32  *
33  */
34 INLINE void CullPlanes::
35 operator = (const CullPlanes &copy) {
36  _planes = copy._planes;
37  _occluders = copy._occluders;
38 }
39 
40 /**
41  *
42  */
43 INLINE CullPlanes::
44 ~CullPlanes() {
45 }
46 
47 /**
48  * Returns true if there are no planes listed in the CullPlanes object.
49  */
50 INLINE bool CullPlanes::
51 is_empty() const {
52  return _planes.empty() && _occluders.empty();
53 
54 }
This represents the set of clip planes and/or occluders that are definitely in effect for the current...
Definition: cullPlanes.h:42
bool is_empty() const
Returns true if there are no planes listed in the CullPlanes object.
Definition: cullPlanes.I:51