Cycles: panorama camera in viewport camera view now shows the render mapped
to the camera border rather than the entire viewport.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user