Fixes for compilation under IRIX, submitted by Randal Hopper, with mods

from Robert.
This commit is contained in:
Robert Osfield
2001-10-15 15:50:55 +00:00
parent 5de4e8e6d8
commit de924ca759
10 changed files with 18 additions and 15 deletions

View File

@@ -50,7 +50,7 @@ class ReaderWriterFLY : public osgDB::ReaderWriter
return osgDB::equalCaseInsensitive(extension,"fly");
}
virtual Node* readNode(const std::string& fileName)
virtual Node* readNode(const std::string& fileName,const osgDB::ReaderWriter::Options*)
{
std::string ext = osgDB::getFileExtension(fileName);

View File

@@ -12,7 +12,7 @@ class TransformFunctor : public osg::Drawable::AttributeFunctor
osg::Matrix _im;
TransformFunctor(const osg::Matrix& m):
AttributeFunctor(osg::Drawable::COORDS|osg::Drawable::NORMALS)
osg::Drawable::AttributeFunctor(osg::Drawable::COORDS|osg::Drawable::NORMALS)
{
_m = m;
_im.invert(_m);

View File

@@ -29,7 +29,7 @@ class TransformFunctor : public osg::Drawable::AttributeFunctor
osg::Matrix _im;
TransformFunctor(const osg::Matrix& m):
AttributeFunctor(osg::Drawable::COORDS|osg::Drawable::NORMALS)
osg::Drawable::AttributeFunctor(osg::Drawable::COORDS|osg::Drawable::NORMALS)
{
_m = m;
_im.invert(_m);
@@ -74,7 +74,7 @@ class FlattenStaticTransformsVisitor : public osg::NodeVisitor
typedef std::set<osg::Transform*> TransformList;
TransformList _transformList;
FlattenStaticTransformsVisitor():NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) {}
FlattenStaticTransformsVisitor():osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) {}
virtual void apply(osg::Geode& geode)
{
@@ -147,7 +147,7 @@ class RemoveRedundentNodesVisitor : public osg::NodeVisitor
typedef std::set<osg::Node*> NodeList;
NodeList _redundentNodeList;
RemoveRedundentNodesVisitor():NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) {}
RemoveRedundentNodesVisitor():osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN) {}
virtual void apply(osg::Group& group)
{