Renamed computeNearFar to computeNearFarPoints.

This commit is contained in:
Robert Osfield
2003-04-16 14:22:36 +00:00
parent 904aceec22
commit 2e659c9ebf
2 changed files with 2 additions and 2 deletions

View File

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

View File

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