Added a bunch of files synched with 0.8.42
This commit is contained in:
27
src/osgDB/ReadFile.cpp
Normal file
27
src/osgDB/ReadFile.cpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#include "osg/Notify"
|
||||
#include "osg/Object"
|
||||
#include "osg/Image"
|
||||
#include "osg/Node"
|
||||
|
||||
#include "osgDB/Registry"
|
||||
#include "osgDB/ReadFile"
|
||||
|
||||
using namespace osg;
|
||||
using namespace osgDB;
|
||||
|
||||
Object* osgDB::readObjectFile(const std::string& filename)
|
||||
{
|
||||
return Registry::instance()->readObject(filename);
|
||||
}
|
||||
|
||||
|
||||
Image* osgDB::readImageFile(const std::string& filename)
|
||||
{
|
||||
return Registry::instance()->readImage(filename);
|
||||
}
|
||||
|
||||
|
||||
Node* osgDB::readNodeFile(const std::string& filename)
|
||||
{
|
||||
return Registry::instance()->readNode(filename);
|
||||
}
|
||||
Reference in New Issue
Block a user