From: Andrew Craig <acraig@us...> - 2003-03-03 04:21:17
Update of /cvsroot/planeshift/planeshift/docs
In directory sc8-pr-cvs1:/tmp/cvs-serv31254/docs
Fixed leaf_assert problem. Was using floating point number outside of range.
RCS file: /cvsroot/planeshift/planeshift/docs/history.txt,v
retrieving revision 1.571
retrieving revision 1.572
diff -C2 -d -r1.571 -r1.572
*** history.txt 2 Mar 2003 07:58:46 -0000 1.571
--- history.txt 3 Mar 2003 04:21:11 -0000 1.572
*** 1,2 ****
--- 1,12 ----
+ **** 2003-03-03 by Andrew Craig
+ - Finally fixed the problem with the leaf_assert assert. It turns out that
+ when calculating the angle there is a possible floating point error where it
+ will try to use acos with a number outside the range -1 < x < 1. ( Although,
+ not by much, something like 1.000000000123 ).
+ This results in a nan and thus corrupts the mesh's iMovable. Fixed by adding
+ checks for the range.
+ - Thanks to Jorrit ( and many others testing )for doing most of the grunt
+ work here.
**** 2003-03-01 by Keith Fulton
- Added a message to marshall the spawning parameters so that Spawnmanager