Fixed typo

This commit is contained in:
Robert Osfield
2007-07-11 16:06:04 +00:00
parent 691a49d0fa
commit 095da72020
7 changed files with 18 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ View::View()
#if 1
double height = osg::DisplaySettings::instance()->getScreenHeight();
double width = osg::DisplaySettings::instance()->getScreenWidth();
double distance = osg::DisplaySettings::instance()->getScreenWidth();
double distance = osg::DisplaySettings::instance()->getScreenDistance();
double vfov = osg::RadiansToDegrees(atan2(height/2.0f,distance)*2.0);