Removed include <iostream> where possible, replacing with istream or ostream and changing
std::cout/cerr to osg::notify().
This commit is contained in:
@@ -39,12 +39,12 @@ public:
|
||||
osg::Geometry* geom = geoset->convertToGeometry();
|
||||
if (geom)
|
||||
{
|
||||
std::cout<<"Successfully converted GeoSet to Geometry"<<std::endl;
|
||||
osg::notify(osg::NOTICE)<<"Successfully converted GeoSet to Geometry"<<std::endl;
|
||||
geode.replaceDrawable(geoset,geom);
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cout<<"*** Failed to convert GeoSet to Geometry"<<std::endl;
|
||||
osg::notify(osg::NOTICE)<<"*** Failed to convert GeoSet to Geometry"<<std::endl;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
|
||||
#include <osgUtil/Optimizer>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
osg::Geode* createTile(const osg::Vec3& lb, const osg::Vec3& rb,
|
||||
const osg::Vec3& lt, const osg::Vec3& rt,
|
||||
const std::string& imageFile)
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <osg/Matrix>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
void testFrustum(double left,double right,double bottom,double top,double zNear,double zFar)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user