1
0
Fork 0

compilation fixes for older versions of OSG

This commit is contained in:
Tim Moore 2010-11-29 22:43:52 +01:00
parent d38fcc9979
commit 27a7b98284

View 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();