Revision: 1570
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1570&view=rev
Author: rorthomas
Date: 2011-01-16 01:15:08 +0000 (Sun, 16 Jan 2011)
Log Message:
-----------
automatic aspect ratio
Modified Paths:
--------------
trunk/source/main/RigsOfRods.cpp
Modified: trunk/source/main/RigsOfRods.cpp
===================================================================
--- trunk/source/main/RigsOfRods.cpp 2011-01-16 00:57:20 UTC (rev 1569)
+++ trunk/source/main/RigsOfRods.cpp 2011-01-16 01:15:08 UTC (rev 1570)
@@ -298,6 +298,7 @@
mCamera->setNearClipDistance( 0.5 );
mCamera->setFarClipDistance( 1000.0*1.733 );
mCamera->setFOVy(Degree(60));
+ mCamera->setAutoAspectRatio(true);
//CREATE VIEWPORT
LogManager::getSingleton().logMessage("Creating Viewport");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel