- Timestamp:
- 03/07/05 18:25:30 (8 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgUtil/TangentSpaceGenerator
r3526 r3882 55 55 inline void setBinormalArray(osg::Vec4Array *array) { B_ = array; } 56 56 57 inline osg::IndexArray *getIndices() { return indices_.get(); } 57 58 protected: 58 59 virtual ~TangentSpaceGenerator() {} 59 60 TangentSpaceGenerator &operator=(const TangentSpaceGenerator &) { return *this; } 60 61 61 void compute_basis_vectors(osg::PrimitiveSet *pset, const osg::Array *vx, const osg::Array *nx, const osg::Array *tx, int iA, int iB, int iC); 62 void compute_basis_vectors(osg::PrimitiveSet *pset, 63 const osg::Array *vx, 64 const osg::Array *nx, 65 const osg::Array *tx, 66 const osg::IndexArray *vix, 67 const osg::IndexArray *nix, 68 const osg::IndexArray *tix, 69 int iA, int iB, int iC); 62 70 63 71 private: … … 65 73 osg::ref_ptr<osg::Vec4Array> B_; 66 74 osg::ref_ptr<osg::Vec4Array> N_; 75 osg::ref_ptr<osg::UIntArray> indices_; 67 76 }; 68 77
