The content renderable's render() function is called with an empty tag. A
Sequence can be used to specify other tags and add post-processing.
*/
The content renderable's render() function is called with an empty tag. A
Sequence can be used to specify other tags and add post-processing.
*/
- virtual unsigned get_width() const { return target.get_width(); }
- virtual unsigned get_height() const { return target.get_height(); }
+ virtual unsigned get_width() const { return get_target().get_width(); }
+ virtual unsigned get_height() const { return get_target().get_height(); }
float get_aspect_ratio() const { return static_cast<float>(get_width())/get_height(); }
/** Sets the camera to render with. The camera's aspect ratio is set to
float get_aspect_ratio() const { return static_cast<float>(get_width())/get_height(); }
/** Sets the camera to render with. The camera's aspect ratio is set to