]> git.mxchange.org Git - flightgear.git/commitdiff
compilation fixes for older versions of OSG
authorTim Moore <timoore33@gmail.com>
Mon, 29 Nov 2010 21:43:52 +0000 (22:43 +0100)
committerTim Moore <timoore33@gmail.com>
Mon, 29 Nov 2010 21:43:52 +0000 (22:43 +0100)
src/Main/CameraGroup.cxx

index ae4cf48dfcc42e69ec483db7c5d3a83d6c43f01a..305c68363021014fd747c30bf0bc7df6e205dfd2 100644 (file)
@@ -35,6 +35,7 @@
 #include <string>
 
 #include <osg/Camera>
+#include <osg/Geometry>
 #include <osg/GraphicsContext>
 #include <osg/io_utils>
 #include <osg/Math>
@@ -328,10 +329,10 @@ static osg::Geometry* createParoramicSphericalDisplayDistortionMesh(
 
     osg::Vec3d projector = eye - osg::Vec3d(0.0,0.0, distance);
 
-
+#if 0
     OSG_INFO<<"createParoramicSphericalDisplayDistortionMesh : Projector position = "<<projector<<std::endl;
     OSG_INFO<<"createParoramicSphericalDisplayDistortionMesh : distance = "<<distance<<std::endl;
-
+#endif
     // create the quad to visualize.
     osg::Geometry* geometry = new osg::Geometry();