Further updates to the ReaderWriter support in osgDB, and a fix to a small warning

in Matrix.cpp.
This commit is contained in:
Robert Osfield
2001-10-30 19:23:24 +00:00
parent f0372817b5
commit 8f4e62ced0
7 changed files with 77 additions and 125 deletions

View File

@@ -1,6 +1,7 @@
#include <osg/Object>
#include <osgDB/Registry>
#include <osgDB/ReadFile>
#include <osgDB/Input>
using namespace osgDB;
@@ -62,15 +63,15 @@ osg::Node* Input::readNode()
osg::Object* Input::readObject(const std::string& fileName)
{
return Registry::instance()->readObject(fileName);
return readObjectFile(fileName);
}
osg::Image* Input::readImage(const std::string& fileName)
{
return Registry::instance()->readImage(fileName);
return readImageFile(fileName);
}
osg::Node* Input::readNode(const std::string& fileName)
{
return Registry::instance()->readNode(fileName);
return readNodeFile(fileName);
}