diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-11 02:31:29 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-11-11 02:31:29 +0400 |
commit | 1ca4670267c3709d1c233264012882b4c0902748 (patch) | |
tree | 33e92ccad6818117431588274b3ec27952b753ba /intern/cycles/render/camera.h | |
parent | 446f70f286154ca248dbdd25ecd68cdb9c6114d5 (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.h | 5 |
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; |