Commit 1ca11f52 authored by Alexander Wiebel's avatar Alexander Wiebel

[STYLE][DOC] fixed typos and indentation, and removed unnecessary include.

parent 31c48716
......@@ -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;
......
......@@ -108,7 +108,7 @@ protected:
* Virtual destructor needed because of virtual function.
*
* This desctructor is protected to avoid accidentally deleting
* a instance of WPickHandler.
* an 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.
......
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