Added handling of DrawArrayLengths PrimitiveSet.

This commit is contained in:
Robert Osfield
2004-08-27 08:01:17 +00:00
parent b5c2d85962
commit b50f0db0a9
2 changed files with 120 additions and 76 deletions

View File

@@ -115,6 +115,7 @@ class OSGUTIL_EXPORT Tesselator : public osg::Referenced
void collectTesselation(osg::Geometry &cxgeom);
typedef std::map<osg::Vec3*,unsigned int> VertexPtrToIndexMap;
void addContour(GLenum mode, unsigned int first, unsigned int last, osg::Vec3Array* vertices);
void addContour(osg::PrimitiveSet* primitive, osg::Vec3Array* vertices);
void handleNewVertices(osg::Geometry& geom,VertexPtrToIndexMap &vertexPtrToIndexMap);