Added a bunch of files synched with 0.8.42

This commit is contained in:
Don BURNS
2001-09-19 21:08:56 +00:00
parent fed86f3f03
commit e8f256a59d
446 changed files with 58397 additions and 10552 deletions

30
src/osgDB/WriteFile.cpp Normal file
View File

@@ -0,0 +1,30 @@
#include "osg/Notify"
#include "osg/Object"
#include "osg/Image"
#include "osg/Node"
#include "osg/Group"
#include "osg/Geode"
#include "osgDB/Registry"
#include "osgDB/WriteFile"
using namespace osg;
using namespace osgDB;
bool osgDB::writeObjectFile(const Object& object,const std::string& filename)
{
return Registry::instance()->writeObject(object,filename);
}
bool osgDB::writeImageFile(const Image& image,const std::string& filename)
{
return Registry::instance()->writeImage(image,filename);
}
bool osgDB::writeNodeFile(const Node& node,const std::string& filename)
{
return Registry::instance()->writeNode(node,filename);
}