Revision: 2468 http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2468&view=rev Author: rorthomas Date: 2012-03-15 20:44:51 +0000 (Thu, 15 Mar 2012) Log Message: ----------- fix
Modified Paths: -------------- trunk/source/main/gfx/camera/CameraBehaviorVehicleOrbit.cpp Modified: trunk/source/main/gfx/camera/CameraBehaviorVehicleOrbit.cpp =================================================================== --- trunk/source/main/gfx/camera/CameraBehaviorVehicleOrbit.cpp 2012-03-15 20:44:10 UTC (rev 2467) +++ trunk/source/main/gfx/camera/CameraBehaviorVehicleOrbit.cpp 2012-03-15 20:44:51 UTC (rev 2468) @@ -50,7 +50,7 @@ targetPitch = -asin(dir.dotProduct(Vector3::UNIT_Y)); else targetPitch = 0; - { + camRatio = 1.0f / (curr_truck->tdt * 4.0f); CameraBehaviorOrbit::update(ctx); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Rigsofrods-devel mailing list Rigsofrods-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel