Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
04a18ff5
Commit
04a18ff5
authored
Sep 06, 2010
by
Sebastian Eichelbaum
Browse files
[MERGE]
parents
d5f5fb8b
0ad70a5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/graphicsEngine/WGEZoomTrackballManipulator.cpp
src/graphicsEngine/WGEZoomTrackballManipulator.cpp
+3
-3
No files found.
src/graphicsEngine/WGEZoomTrackballManipulator.cpp
View file @
04a18ff5
...
...
@@ -91,13 +91,13 @@ bool WGEZoomTrackballManipulator::zoom( const osgGA::GUIEventAdapter& ea, osgGA:
switch
(
ea
.
getScrollingMotion
()
)
{
case
osgGA
::
GUIEventAdapter
::
SCROLL_UP
:
zoomDelta
=
-
0.05
;
zoomDelta
=
0.05
;
break
;
case
osgGA
::
GUIEventAdapter
::
SCROLL_DOWN
:
zoomDelta
=
0.05
;
zoomDelta
=
-
0.05
;
break
;
case
osgGA
::
GUIEventAdapter
::
SCROLL_2D
:
zoomDelta
=
-
0.05
/
120.0
*
ea
.
getScrollingDeltaY
();
zoomDelta
=
0.05
/
120.0
*
ea
.
getScrollingDeltaY
();
break
;
// case osgGA::GUIEventAdapter::SCROLL_LEFT:
// case osgGA::GUIEventAdapter::SCROLL_RIGHT:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment