Switched examples to use FPS-style first person perspective camera.

This commit is contained in:
David Williams
2015-02-20 15:28:54 +01:00
parent 565aa21799
commit 9c93c5fc36
7 changed files with 124 additions and 56 deletions

View File

@ -91,8 +91,8 @@ protected:
//Pass the surface to the OpenGL window
addMesh(decodedMesh);
//openGLWidget.addMesh(mesh2);
setViewableRegion(volData.getEnclosingRegion());
setCameraTransform(QVector3D(100.0f, 100.0f, 100.0f), -(PI / 4.0f), PI + (PI / 4.0f));
}
};