aerys/minko — pull request #154 by indiscible (2014-03-20 12:15:47+00:00)
Title: add viewport property to renderer

Hi,
I wanted multiple viewport in the same window but it didn't seem possible as is.
So I figured out I could add a viewportBox (like the scissorBox) to the Renderer component. The property is checked right before the DrawCalls and if set the rendering context viewport and scissor test are changed accordingly.
you use it like this: camera->component()->viewport( 10, 10, 100, 100 ), the cool thing is you can just add cameras to the scene and it works.
let me know if missed something.