Compile fixes for IRIX, submitted by Randall Hopper.
This commit is contained in:
@@ -103,7 +103,7 @@ class SG_EXPORT ImpostorSprite : public Drawable
|
||||
|
||||
/** calculate the pixel error value for passing in the ModelViewProjectionWindow transform,
|
||||
* which transform local coords into screen space.*/
|
||||
const float ImpostorSprite::calcPixelError(const Matrix& MVPW) const;
|
||||
const float calcPixelError(const Matrix& MVPW) const;
|
||||
|
||||
void setTexture(Texture* tex,int s,int t);
|
||||
|
||||
|
||||
@@ -308,9 +308,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor
|
||||
}
|
||||
else
|
||||
{
|
||||
// default construction to identity.
|
||||
static osg::Matrix identity;
|
||||
return identity;
|
||||
return _identity;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -322,9 +320,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor
|
||||
}
|
||||
else
|
||||
{
|
||||
// default construction to identity.
|
||||
static osg::Matrix identity;
|
||||
return identity;
|
||||
return _identity;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -337,9 +333,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor
|
||||
}
|
||||
else
|
||||
{
|
||||
// default construction to identity.
|
||||
static osg::Matrix identity;
|
||||
return identity;
|
||||
return _identity;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -355,9 +349,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor
|
||||
}
|
||||
else
|
||||
{
|
||||
// default construction to identity.
|
||||
static osg::Matrix identity;
|
||||
return identity;
|
||||
return _identity;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -389,6 +381,7 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor
|
||||
unsigned int _bbCornerNear;
|
||||
unsigned int _bbCornerFar;
|
||||
|
||||
osg::Matrix _identity;
|
||||
|
||||
osg::ref_ptr<RenderGraph> _rootRenderGraph;
|
||||
RenderGraph* _currentRenderGraph;
|
||||
|
||||
Reference in New Issue
Block a user