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
4d52163c
Commit
4d52163c
authored
Aug 31, 2021
by
Robin Eschbach
Browse files
[STYLE
#518
] fixing line length
parent
29909a14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/core/graphicsEngine/WGEZoomTrackballManipulator.cpp
src/core/graphicsEngine/WGEZoomTrackballManipulator.cpp
+2
-1
No files found.
src/core/graphicsEngine/WGEZoomTrackballManipulator.cpp
View file @
4d52163c
...
...
@@ -204,7 +204,8 @@ void WGEZoomTrackballManipulator::computeHomePosition( const osg::Camera*, bool
m_radius
=
osg
::
maximum
(
(
double
)
boundingSphere
.
radius
(),
1e-6
);
setHomePosition
(
boundingSphere
.
center
()
+
osg
::
Vec3d
(
0.0
,
-
m_radius
,
0.0
),
// The more far away the number from 0 is, the stronger is the pan
// The more far away the number from 0 is, the stronger is the pan
setHomePosition
(
boundingSphere
.
center
()
+
osg
::
Vec3d
(
0.0
,
-
m_radius
,
0.0
),
boundingSphere
.
center
(),
osg
::
Vec3d
(
0.0
,
0.0
,
1.0
),
_autoComputeHomePosition
);
...
...
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