Very new to Irrlicht. I have a program that draws a mesh of triangles. In the device->run() loop, I added another draw command (to draw a primitive list of vertices) and that is now inhibiting the draw of the mesh. Here is the run loop:
Code: Select all
while (device->run()) {
driver->beginScene(true, true, video::SColor(0, 100, 100, 100));
manager->drawAll();
driver->drawVertexPrimitiveList(axes, 6, indices, 3, video::EVT_STANDARD, scene::EPT_LINES, EIT_16BIT);
driver->endScene();
}
Thanks.