EPSILON is NOT 0.00001!
今天看到一篇 blog , 浮点数 和 EPSILON 。 这个问题我关注过好几次,最早是为了公司里台球的项目在公司内部 wiki 上写过。后来在留言本上也写过帖子。 http://www.codingnow.com/2004/board/view.php?paster=412&reply=0
想起来,去年 gdc2005 时完整的听过一个讲座,叫做 Numerical Robustness for Geometric Calculations 对这个问题谈的比较深入,google 了一把,把 PPT 找出来了 :) http://realtimecollisiondetection.net/pubs/ 有兴趣可以下载看看。
Comments
Posted by: 凄临雨 | (9) April 23, 2012 10:07 AM
Posted by: Cloud | (8) August 11, 2007 04:08 PM
Posted by: lincan | (7) August 11, 2007 07:37 AM
Posted by: 空明流转 | (6) February 15, 2006 11:22 PM
Posted by: shinco | (5) February 9, 2006 10:39 PM
Posted by: Atry | (4) February 9, 2006 06:04 PM
Posted by: shinco | (3) February 8, 2006 02:27 PM
Posted by: shinco | (2) February 8, 2006 02:19 PM
Posted by: lostpencil | (1) February 8, 2006 10:27 AM