+ rename methods to a more obvious name

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5106 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-11-09 11:10:09 +00:00
parent a87e19073e
commit 7023236741
5 changed files with 9 additions and 9 deletions

View File

@@ -281,7 +281,7 @@ void NavigationStyle::seekToPoint(const SbVec3f& scenepos)
viewer->seekToPoint(scenepos);
}
SbBool NavigationStyle::moveToPoint(const SbVec2s screenpos)
SbBool NavigationStyle::lookAtPoint(const SbVec2s screenpos)
{
SoCamera* cam = viewer->getCamera();
if (cam == 0) return FALSE;
@@ -299,11 +299,11 @@ SbBool NavigationStyle::moveToPoint(const SbVec2s screenpos)
SbVec3f hitpoint;
hitpoint = picked->getPoint();
setCameraPosition(hitpoint);
lookAtPoint(hitpoint);
return TRUE;
}
void NavigationStyle::setCameraPosition(const SbVec3f& pos)
void NavigationStyle::lookAtPoint(const SbVec3f& pos)
{
SoCamera* cam = viewer->getCamera();
if (cam == 0) return;