diff --git a/src/math/Ray.js b/src/math/Ray.js index f81837f6a4ceec76db9560b470f07df0ec63a07e..b9e944f6505f00b78aafc3659f0d8b25122ee269 100644 --- a/src/math/Ray.js +++ b/src/math/Ray.js @@ -50,7 +50,7 @@ THREE.Ray.prototype = { this.direction.copy( v ).sub( this.origin ).normalize(); return this; - + }, recast: function () { @@ -121,7 +121,7 @@ THREE.Ray.prototype = { return function ( v0, v1, optionalPointOnRay, optionalPointOnSegment ) { - // from http://www.geometrictools.com/LibMathematics/Distance/Wm5DistRay3Segment3.cpp + // from http://www.geometrictools.com/GTEngine/Include/Mathematics/GteDistRaySegment.h // It returns the min distance between the ray and the segment // defined by v0 and v1 // It can also set two optional targets : @@ -442,7 +442,7 @@ THREE.Ray.prototype = { return function ( a, b, c, backfaceCulling, optionalTarget ) { - // from http://www.geometrictools.com/LibMathematics/Intersection/Wm5IntrRay3Triangle3.cpp + // from http://www.geometrictools.com/GTEngine/Include/Mathematics/GteIntrRay3Triangle3.h edge1.subVectors( b, a ); edge2.subVectors( c, a );