Commit 1ca11f52 by Alexander Wiebel

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

parent 31c48716
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#include <string> #include <string>
#include "../common/WLogger.h"
#include "WPickHandler.h" #include "WPickHandler.h"
#include "../common/WAssert.h" #include "../common/WAssert.h"
...@@ -224,7 +222,7 @@ void WPickHandler::pick( osgViewer::View* view, const osgGA::GUIEventAdapter& ea ...@@ -224,7 +222,7 @@ void WPickHandler::pick( osgViewer::View* view, const osgGA::GUIEventAdapter& ea
osgUtil::LineSegmentIntersector::Intersections intersections; osgUtil::LineSegmentIntersector::Intersections intersections;
m_hitResult = WPickInfo(); m_hitResult = WPickInfo();
float x = ea.getX(); // pixel position in x direction 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; WPickInfo pickInfo;
......
...@@ -99,7 +99,7 @@ public: ...@@ -99,7 +99,7 @@ public:
* Set in paint mode * Set in paint mode
* \param paintMode Should we switch to 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. static const std::string unpickString; //!< The string indicating picking has stopped.
...@@ -108,7 +108,7 @@ protected: ...@@ -108,7 +108,7 @@ protected:
* Virtual destructor needed because of virtual function. * Virtual destructor needed because of virtual function.
* *
* This desctructor is protected to avoid accidentally deleting * 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 * This follows the philosophy of OSG to avoid problems in multithreaded
* environments, since these pointers are used deep in the OSG where * environments, since these pointers are used deep in the OSG where
* a deletion could cause a segfault. * 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