Added friend declarations of nested classes to prevent compile problems under VS6.0

This commit is contained in:
Robert Osfield 2005-10-26 20:22:59 +00:00
parent e66fd1dc70
commit 05703a9273

View File

@ -121,7 +121,11 @@ protected:
virtual ~VectorsComputerUsingIndices() {}
};
private:
// declare as friends so that may operator on TangentSpaceGenerator protected member variables.
friend class BasisVectorsComputer;
friend class VectorsComputerNoIndices;
friend class VectorsComputerUsingIndices;
osg::ref_ptr<osg::Vec4Array> T_;
osg::ref_ptr<osg::Vec4Array> B_;
osg::ref_ptr<osg::Vec4Array> N_;