提交 976f78bb 编写于 作者: M Mr.doob

Ray: Fix precission issue. See #5774.

上级 821e386b
......@@ -113,7 +113,7 @@ THREE.Ray.prototype = {
var det = Math.abs( 1 - a01 * a01 );
var s0, s1, sqrDist, extDet;
if ( det >= 0 ) {
if ( det > 0 ) {
// The ray and segment are not parallel.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册