X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2FCameraGroup.hxx;h=1e18e28e1172702ebd12e8c7c2a826844cc23b1a;hb=38226af24ec01e8f0a20d7fd73ef838a69f6ef25;hp=79d0d33d4a0d7ddf84433769d44b842eea3e87f3;hpb=18d1593c42c2df60d7fb44ace722ca3e8a7fd82c;p=flightgear.git diff --git a/src/Main/CameraGroup.hxx b/src/Main/CameraGroup.hxx index 79d0d33d4..1e18e28e1 100644 --- a/src/Main/CameraGroup.hxx +++ b/src/Main/CameraGroup.hxx @@ -17,6 +17,7 @@ #ifndef CAMERAGROUP_HXX #define CAMERAGROUP_HXX 1 +#include #include #include @@ -24,6 +25,7 @@ #include #include #include +#include // For osgUtil::LineSegmentIntersector::Intersections, which is a typedef. #include @@ -178,6 +180,9 @@ public: /** Update camera properties after a resize event. */ void resized(); + + void buildDistortionCamera(const SGPropertyNode* psNode, + osg::Camera* camera); protected: CameraList _cameras; osg::ref_ptr _viewer; @@ -186,6 +191,8 @@ protected: float _zNear; float _zFar; float _nearField; + typedef std::map > TextureMap; + TextureMap _textureTargets; }; }