diff --git a/src/Main/CameraGroup.hxx b/src/Main/CameraGroup.hxx index 75ff12ac5..17c0ad003 100644 --- a/src/Main/CameraGroup.hxx +++ b/src/Main/CameraGroup.hxx @@ -123,6 +123,25 @@ struct CameraInfo : public osg::Referenced /** Properties of the camera. @see CameraGroup::Flags. */ unsigned flags; + + /** Viewport parameters. + */ + double x; + double y; + double width; + double height; + /** Physical size parameters. + */ + double physicalWidth; + double physicalHeight; + double bezelHeightTop; + double bezelHeightBottom; + double bezelWidthLeft; + double bezelWidthRight; + /** The parent camera for relative camera configurations. + */ + unsigned relativeCameraParent; + /** the camera objects */ CameraMap cameras; @@ -142,31 +161,13 @@ struct CameraInfo : public osg::Referenced //osg::ref_ptr bloomOffset[2]; osg::ref_ptr projInverse; osg::ref_ptr viewInverse; + osg::ref_ptr view; osg::ref_ptr du; osg::ref_ptr dv; - osg::ref_ptr view; void setMatrices( osg::Camera* c ); osgUtil::RenderBin::RenderBinList savedTransparentBins; - - /** Viewport parameters. - */ - double x; - double y; - double width; - double height; - /** Physical size parameters. - */ - double physicalWidth; - double physicalHeight; - double bezelHeightTop; - double bezelHeightBottom; - double bezelWidthLeft; - double bezelWidthRight; - /** The parent camera for relative camera configurations. - */ - unsigned relativeCameraParent; /** The reference points in the parents projection space. */ osg::Vec2d parentReference[2];