Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-11 02:31:29 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-11 02:31:29 +0400
commit1ca4670267c3709d1c233264012882b4c0902748 (patch)
tree33e92ccad6818117431588274b3ec27952b753ba /intern/cycles/render/camera.h
parent446f70f286154ca248dbdd25ecd68cdb9c6114d5 (diff)
Cycles: panorama camera in viewport camera view now shows the render mapped
to the camera border rather than the entire viewport.
Diffstat (limited to 'intern/cycles/render/camera.h')
-rw-r--r--intern/cycles/render/camera.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/intern/cycles/render/camera.h b/intern/cycles/render/camera.h
index 1407c86e7c2..4c2de7b50b8 100644
--- a/intern/cycles/render/camera.h
+++ b/intern/cycles/render/camera.h
@@ -21,6 +21,7 @@
#include "kernel_types.h"
+#include "util_boundbox.h"
#include "util_transform.h"
#include "util_types.h"
@@ -65,10 +66,10 @@ public:
/* screen */
int width, height;
- float left, right, bottom, top;
+ BoundBox2D viewplane;
/* border */
- float border_left, border_right, border_bottom, border_top;
+ BoundBox2D border;
/* transformation */
Transform matrix;