Replaced .osg with .osgt file usage

This commit is contained in:
Robert Osfield
2011-06-14 16:54:20 +00:00
parent 2c2234d68b
commit d18250da59
50 changed files with 127 additions and 128 deletions

View File

@@ -183,7 +183,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius, osg::Geode *
osg::Group* model = new osg::Group;
osg::Node* glider = osgDB::readNodeFile("glider.osg");
osg::Node* glider = osgDB::readNodeFile("glider.osgt");
if (glider)
{
const osg::BoundingSphere& bs = glider->getBound();
@@ -236,7 +236,7 @@ osg::Node* createMovingModel(const osg::Vec3& center, float radius, osg::Geode *
model->addChild(xform);
}
osg::Node* cessna = osgDB::readNodeFile("cessna.osg");
osg::Node* cessna = osgDB::readNodeFile("cessna.osgt");
if (cessna)
{
const osg::BoundingSphere& bs = cessna->getBound();