Show
Ignore:
Timestamp:
01/23/04 14:38:28 (10 years ago)
Author:
robert
Message:

Fixed the handling of the Producer Fovy so that it accounts for Producer
now using degrees in set and get methods

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgstereoimage/osgstereoimage.cpp

    r1983 r2663  
    2323#include <osg/TexMat> 
    2424#include <osg/Texture2D> 
    25  
    26  
    2725 
    2826typedef std::vector<std::string> FileList; 
     
    483481        Producer::RenderSurface* rs = cam->getRenderSurface(); 
    484482        rs->useCursor(false); 
    485         fovy = cam->getLensVerticalFov(); 
     483        fovy = osg::DegreesToRadians(cam->getLensVerticalFov()); 
    486484    } 
    487485