From 2e659c9ebfd6421d9fe76fa5e909de681637d24a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 16 Apr 2003 14:22:36 +0000 Subject: [PATCH] Renamed computeNearFar to computeNearFarPoints. --- include/osgProducer/Viewer | 2 +- src/osgProducer/Viewer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osgProducer/Viewer b/include/osgProducer/Viewer index 8fbb03eb5..29186874b 100644 --- a/include/osgProducer/Viewer +++ b/include/osgProducer/Viewer @@ -99,7 +99,7 @@ class OSGPRODUCER_EXPORT Viewer : public OsgCameraGroup, public osgGA::GUIAction bool computePixelCoords(float x,float y,unsigned int cameraNum,float& pixel_x,float& pixel_y); /** compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords.*/ - bool computeNearFar(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far); + bool computeNearFarPoints(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far); /** compute, from normalized mouse coords, for sepecified Camera, intersections with the scene.*/ bool computeIntersections(float x,float y,unsigned int cameraNum,osgUtil::IntersectVisitor::HitList& hits); diff --git a/src/osgProducer/Viewer.cpp b/src/osgProducer/Viewer.cpp index b47c83174..fd651582f 100644 --- a/src/osgProducer/Viewer.cpp +++ b/src/osgProducer/Viewer.cpp @@ -340,7 +340,7 @@ bool Viewer::computePixelCoords(float x,float y,unsigned int cameraNum,float& pi return false; } -bool Viewer::computeNearFar(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far) +bool Viewer::computeNearFarPoints(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far) { if (cameraNum>=getSceneHandlerList().size()) return false;