Added support for mapping GL_QUADS, GL_QUAD_STRIP and GL_POLYGONS to GL_TRIANGLE equivalents.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user