Changed the projection matrix resize policy.
This commit is contained in:
@@ -36,6 +36,7 @@ StatsHandler::StatsHandler():
|
||||
{
|
||||
_camera = new osg::Camera;
|
||||
_camera->setRenderer(new Renderer(_camera.get()));
|
||||
_camera->setProjectionResizePolicy(osg::Camera::FIXED);
|
||||
}
|
||||
|
||||
bool StatsHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa)
|
||||
|
||||
Reference in New Issue
Block a user