Split 'decode()' function into several variants so it's not so heavily overloaded.

This commit is contained in:
David Williams
2014-07-24 16:55:11 +02:00
parent 98e722271e
commit bfa14a32df
8 changed files with 18 additions and 19 deletions

View File

@ -189,7 +189,7 @@ int main(int argc, char *argv[])
auto mesh = extractCubicMesh(&volData, reg2);
std::cout << "#vertices: " << mesh.getNoOfVertices() << std::endl;
auto decodedMesh = decode(mesh);
auto decodedMesh = decodeMesh(mesh);
//Pass the surface to the OpenGL window
openGLWidget.addMesh(decodedMesh);