Changed method parameter to use const &

This commit is contained in:
Robert Osfield 2008-02-25 14:27:57 +00:00
parent 55de8b03d9
commit 49641debcb

View File

@ -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));