Panda3D
displayRegionBase.I
1 // Filename: displayRegionBase.I
2 // Created by: drose (20Feb09)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: DisplayRegionBase::Constructor
18 // Access: Protected
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE DisplayRegionBase::
22 DisplayRegionBase() {
23 }
24 
25 INLINE ostream &
26 operator << (ostream &out, const DisplayRegionBase &dr) {
27  dr.output(out);
28  return out;
29 }
An abstract base class for DisplayRegion, mainly so we can store DisplayRegion pointers in a Camera...