Centered volume in viewport.

This commit is contained in:
David Williams 2014-05-25 21:06:44 +02:00
parent e80c88a5ec
commit 349dc2b0e6

View File

@ -192,6 +192,8 @@ int main(int argc, char *argv[])
//Pass the surface to the OpenGL window
openGLWidget.addMesh(mesh);
openGLWidget.setViewableRegion(reg);
//Run the message pump.
return app.exec();
}