Fixed aspect ratio.

This commit is contained in:
Robert Osfield 2007-01-05 15:32:21 +00:00
parent d4045a6fef
commit 01c1e07646

View File

@ -156,7 +156,7 @@ int main( int argc, char **argv )
}
unsigned int numCameras = 2;
double aspectRatioScale = 1.0/(double)numCameras;
double aspectRatioScale = 1.0;
for(unsigned int i=0; i<numCameras;++i)
{
osg::ref_ptr<osg::Camera> camera = new osg::Camera;