提交 4dee35ac 编写于 作者: M Michael Herzog 提交者: Mr.doob

Ray: Update Links (#8947)

上级 ab93512c
......@@ -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 );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册