Commit 4bdac7b6 authored by Dominik Sibbing's avatar Dominik Sibbing
Browse files

Function added to change fovy.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13456 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 04e5d748
......@@ -634,6 +634,15 @@ void QtBaseViewer::viewingDirection( const Vec3d& _dir, const Vec3d& _up )
//-----------------------------------------------------------------------------
void QtBaseViewer::setFovy( double _fovy )
{
// set new field of view
fovy_ = _fovy;
emit viewChanged();
}
//-----------------------------------------------------------------------------
void QtBaseViewer::actionMode(ActionMode _am)
{
......
......@@ -343,6 +343,9 @@ public:
/// set the viewing direction
void viewingDirection( const ACG::Vec3d& _dir, const ACG::Vec3d& _up );
/// set field of view y
void setFovy( double _fovy );
/// How to react on mouse events?
enum ActionMode {
// examine geometry, get transformations from mouse events
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment