Revision: 1701
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1701&view=rev
Author:   rorlifter
Date:     2011-02-27 13:48:54 +0000 (Sun, 27 Feb 2011)

Log Message:
-----------
Support beam break fix:
Length *4.0 -> Length *100

Requested by Lenni and Lifter

Modified Paths:
--------------
    trunk/source/main/physics/BeamForcesEuler.cpp

Modified: trunk/source/main/physics/BeamForcesEuler.cpp
===================================================================
--- trunk/source/main/physics/BeamForcesEuler.cpp       2011-02-26 12:13:36 UTC 
(rev 1700)
+++ trunk/source/main/physics/BeamForcesEuler.cpp       2011-02-27 13:48:54 UTC 
(rev 1701)
@@ -154,8 +154,8 @@
                                                {
                                                        k=0.0f;
                                                        d=d*0.1f;
-                                                       // If support beam is 
extended more than four beam lengths, break it
-                                                       if 
(difftoBeamL>beams[i].L*4.0f)
+                                                       // If support beam is 
extended more than hundred original beam lengths, break it
+                                                       if 
(difftoBeamL>beams[i].L*100.0f)
                                                        {
                                                                
beams[i].broken=1;
                                                                
beams[i].disabled=true;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to