Added support for mapping GL_QUADS, GL_QUAD_STRIP and GL_POLYGONS to GL_TRIANGLE equivalents.

This commit is contained in:
Robert Osfield
2009-11-10 11:36:07 +00:00
parent def04324a4
commit d0b021568e
2 changed files with 34 additions and 1 deletions

View File

@@ -157,6 +157,9 @@ class OSG_EXPORT GLBeginEndAdapter
osg::ref_ptr<osg::Vec4Array> _colors;
VertexArrayList _texCoordsList;
VertexArrayList _vertexAttribsList;
typedef std::vector<unsigned short> UShortArray;
UShortArray _indexArray;
};
}