Hi,
A probably fairly simple question, but I seem to have usef the c++ 'continue' statement incorrect.
What I do is the following (pseudo code)
for(materials=0;materials<nrMaterials++materials)
{
for(meshes=0;mesh<nrMeshes;++meshes)
{
if(materials[material].index[meshes].uses = false) continue;
// otherwise do thing with this mesh
}
}
What I try to achieve is that 'continue' stops the iteration for meshes[m] and goes to the next iteration in this for loop, meshes[m+1].
From debugging it looks like it's not doing that.
Any ideas/ suggestions on what I might be doing wrong?