Panda3D
 All Classes Functions Variables Enumerations
stereoDisplayRegion.I
1 // Filename: stereoDisplayRegion.I
2 // Created by: drose (19Feb09)
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: StereoDisplayRegion::get_left_eye
18 // Access: Published
19 // Description: Returns a pointer to the left DisplayRegion managed
20 // by this stereo object.
21 ////////////////////////////////////////////////////////////////////
24  return _left_eye;
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: StereoDisplayRegion::get_right_eye
29 // Access: Published
30 // Description: Returns a pointer to the right DisplayRegion managed
31 // by this stereo object.
32 ////////////////////////////////////////////////////////////////////
35  return _right_eye;
36 }
DisplayRegion * get_right_eye()
Returns a pointer to the right DisplayRegion managed by this stereo object.
A rectangular subregion within a window for rendering into.
Definition: displayRegion.h:61
DisplayRegion * get_left_eye()
Returns a pointer to the left DisplayRegion managed by this stereo object.