use class for camera handling,
orbit does not work. Need to figure out why
This commit is contained in:
46
QtMeshViewer/Source/MoveCamera.cpp
Normal file
46
QtMeshViewer/Source/MoveCamera.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
#include "..\Header\MoveCamera.h"
|
||||
#include <QVector2D>
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// constructor/destructor
|
||||
|
||||
MoveCamera::MoveCamera()
|
||||
{
|
||||
resetView();
|
||||
}
|
||||
|
||||
MoveCamera::~MoveCamera()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// functions
|
||||
|
||||
void MoveCamera::rotateAction(QVector2D diff)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void MoveCamera::moveAction(QVector2D diff)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void MoveCamera::wheelAction(double value)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void MoveCamera::recalculateMatrix()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void MoveCamera::resetView()
|
||||
{
|
||||
|
||||
CameraInterface::resetView();
|
||||
}
|
||||
Reference in New Issue
Block a user