From 49641debcb0f806e63d983294a5f6528cc382d91 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 25 Feb 2008 14:27:57 +0000 Subject: [PATCH] Changed method parameter to use const & --- include/osgManipulator/Dragger | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgManipulator/Dragger b/include/osgManipulator/Dragger index a25b32fd3..e9d3d74c4 100644 --- a/include/osgManipulator/Dragger +++ b/include/osgManipulator/Dragger @@ -104,7 +104,7 @@ class OSGMANIPULATOR_EXPORT PointerInfo } - void addIntersection(const osg::NodePath& nodePath, osg::Vec3 intersectionPoint) + void addIntersection(const osg::NodePath& nodePath, const osg::Vec3& intersectionPoint) { bool needToResetHitIter = _hitList.empty(); _hitList.push_back(NodePathIntersectionPair(nodePath, intersectionPoint));