From 01c1e0764689e34e101983966411f04b147a741d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 5 Jan 2007 15:32:21 +0000 Subject: [PATCH] Fixed aspect ratio. --- examples/osghangglide/osghangglide.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osghangglide/osghangglide.cpp b/examples/osghangglide/osghangglide.cpp index 5de90dd1d..adc4606c5 100644 --- a/examples/osghangglide/osghangglide.cpp +++ b/examples/osghangglide/osghangglide.cpp @@ -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 camera = new osg::Camera;