Maybe I miss the point but, why "drawIndexedTriangleList" function have so many parameters (vertices, vertexCount, indexList, triangleCount) if it is called (almost) always the same way:
Code: Select all
scene::IMeshBuffer* mb = m->getMeshBuffer(i);
...
driver->drawIndexedTriangleList((video::S3DVertex*)mb->getVertices(), mb->getVertexCount(), mb->getIndices(), mb->getIndexCount()/ 3);
tkz
and sorry my bad english.