Centered volume in viewport.
This commit is contained in:
parent
e80c88a5ec
commit
349dc2b0e6
@ -192,6 +192,8 @@ int main(int argc, char *argv[])
|
|||||||
//Pass the surface to the OpenGL window
|
//Pass the surface to the OpenGL window
|
||||||
openGLWidget.addMesh(mesh);
|
openGLWidget.addMesh(mesh);
|
||||||
|
|
||||||
|
openGLWidget.setViewableRegion(reg);
|
||||||
|
|
||||||
//Run the message pump.
|
//Run the message pump.
|
||||||
return app.exec();
|
return app.exec();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user