Attempt at build fixes for IRIX.

This commit is contained in:
Robert Osfield
2005-12-05 10:24:02 +00:00
parent 197b68ecb8
commit e1454d22a7
4 changed files with 9 additions and 5 deletions

View File

@@ -143,7 +143,7 @@ class LinearConstraint: public osgUtil::DelaunayConstraint {
* if 2 roads cross, then the overlap will be replaced by a 'cross road'
* and the roads built up to the cross roads with a texture along its length. */
public:
LinearConstraint() : DelaunayConstraint(), txxrepAlong(10), txyrepAcross(10), width(2) { }
LinearConstraint() : osgUtil::DelaunayConstraint(), txxrepAlong(10), txyrepAcross(10), width(2) { }
/** geometry creation parameters */
/* Width of linear feature (eg road, railway) */

View File

@@ -1,7 +1,10 @@
#include "DepthPartitionNode.h"
#include <osgUtil/CullVisitor>
using namespace osg;
#define CURRENT_CLASS DepthPartitionNode
CURRENT_CLASS::CURRENT_CLASS()
{
_distAccumulator = new DistanceAccumulator;
@@ -9,7 +12,7 @@ CURRENT_CLASS::CURRENT_CLASS()
}
CURRENT_CLASS::CURRENT_CLASS(const CURRENT_CLASS& dpn, const osg::CopyOp& copyop)
: Group(dpn, copyop),
: osg::Group(dpn, copyop),
_active(dpn._active),
_renderOrder(dpn._renderOrder),
_clearColorBuffer(dpn._clearColorBuffer)