Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
1ca11f52
Commit
1ca11f52
authored
Jul 21, 2017
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[STYLE][DOC] fixed typos and indentation, and removed unnecessary include.
parent
31c48716
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
src/core/graphicsEngine/WPickHandler.cpp
src/core/graphicsEngine/WPickHandler.cpp
+1
-3
src/core/graphicsEngine/WPickHandler.h
src/core/graphicsEngine/WPickHandler.h
+2
-2
No files found.
src/core/graphicsEngine/WPickHandler.cpp
View file @
1ca11f52
...
...
@@ -24,8 +24,6 @@
#include <string>
#include "../common/WLogger.h"
#include "WPickHandler.h"
#include "../common/WAssert.h"
...
...
@@ -224,7 +222,7 @@ void WPickHandler::pick( osgViewer::View* view, const osgGA::GUIEventAdapter& ea
osgUtil
::
LineSegmentIntersector
::
Intersections
intersections
;
m_hitResult
=
WPickInfo
();
float
x
=
ea
.
getX
();
// pixel position in x direction
float
y
=
ea
.
getY
();
// pixel position in
x
direction
float
y
=
ea
.
getY
();
// pixel position in
y
direction
WPickInfo
pickInfo
;
...
...
src/core/graphicsEngine/WPickHandler.h
View file @
1ca11f52
...
...
@@ -99,7 +99,7 @@ public:
* Set in paint mode
* \param paintMode Should we switch to paint mode?
*/
void
setPaintMode
(
bool
paintMode
);
void
setPaintMode
(
bool
paintMode
);
static
const
std
::
string
unpickString
;
//!< The string indicating picking has stopped.
...
...
@@ -108,7 +108,7 @@ protected:
* Virtual destructor needed because of virtual function.
*
* This desctructor is protected to avoid accidentally deleting
* a instance of WPickHandler.
* a
n
instance of WPickHandler.
* This follows the philosophy of OSG to avoid problems in multithreaded
* environments, since these pointers are used deep in the OSG where
* a deletion could cause a segfault.
...
...
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