Commit 6fe33b43 authored by Jan Möbius's avatar Jan Möbius

Renamed function



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7083 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9ecd86e0
......@@ -1731,18 +1731,18 @@ void glViewer::viewMouseEvent(QMouseEvent* _event) {
if (navigationMode_ == NORMAL_NAVIGATION) {
treatNormalNavigation(_event);
handleNormalNavigation(_event);
} else if (navigationMode_ == FIRSTPERSON_NAVIGATION) {
treatFirstPersonNavigation(_event);
handleFirstPersonNavigation(_event);
}
}
//----------------------------------------------------------------------------
void glViewer::treatFirstPersonNavigation( QMouseEvent* _event) {
void glViewer::handleFirstPersonNavigation( QMouseEvent* _event) {
// Ego-shooter navigation mode is selected
QPointF f(mapFromScene(QPointF(_event->pos().x(), _event->pos().y())));
......@@ -1807,7 +1807,7 @@ void glViewer::treatFirstPersonNavigation( QMouseEvent* _event) {
//----------------------------------------------------------------------------
void glViewer::treatNormalNavigation( QMouseEvent* _event ) {
void glViewer::handleNormalNavigation( QMouseEvent* _event ) {
// Normal navigation mode is selected
QPointF f(mapFromScene(QPointF(_event->pos().x(), _event->pos().y())));
......
......@@ -867,10 +867,10 @@ private:
bool mapToSphere(const QPoint& _p, ACG::Vec3d& _result) const;
/// Navigate through scene if first person mode has been selected
void treatFirstPersonNavigation( QMouseEvent* _event);
void handleFirstPersonNavigation( QMouseEvent* _event);
/// Navigate through scene if normal mode has been selected
void treatNormalNavigation( QMouseEvent* _event);
void handleNormalNavigation( QMouseEvent* _event);
// mouse interaction
......
Markdown is supported
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