Moved plugins across to using ReaderWriter::Options* for search paths in addition
to standard osgDB::DataFilePaths
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
|
||||
#include <osgDB/ReaderWriter>
|
||||
|
||||
|
||||
namespace obj
|
||||
{
|
||||
@@ -157,7 +159,7 @@ public:
|
||||
const std::string& getDatabasePath() const { return databasePath; }
|
||||
|
||||
bool readMTL(std::istream& fin);
|
||||
bool readOBJ(std::istream& fin);
|
||||
bool readOBJ(std::istream& fin, const osgDB::ReaderWriter::Options* options);
|
||||
|
||||
bool readline(std::istream& fin, char* line, const int LINE_SIZE);
|
||||
void addElement(Element* element);
|
||||
|
||||
Reference in New Issue
Block a user