From cda61d92b79d81962b9eb900edef5a47e80fe4c6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 24 Jun 2016 12:26:16 +0100 Subject: [PATCH] Added initializer --- src/osgManipulator/Projector.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/osgManipulator/Projector.cpp b/src/osgManipulator/Projector.cpp index 216ac6278..79c417523 100644 --- a/src/osgManipulator/Projector.cpp +++ b/src/osgManipulator/Projector.cpp @@ -559,11 +559,14 @@ bool CylinderProjector::isPointInFront(const PointerInfo& pi, const osg::Matrix& return true; } -CylinderPlaneProjector::CylinderPlaneProjector() +CylinderPlaneProjector::CylinderPlaneProjector(): + _parallelPlane(false) { } -CylinderPlaneProjector::CylinderPlaneProjector(osg::Cylinder* cylinder) : CylinderProjector(cylinder), _parallelPlane(false) +CylinderPlaneProjector::CylinderPlaneProjector(osg::Cylinder* cylinder): + CylinderProjector(cylinder), + _parallelPlane(false) { }