diff --git a/src/math/Ray.js b/src/math/Ray.js index 58a4669328997d349bf0094593e847ee469226f3..5182aa4b38319ce1c4c3c130cb2c50e2e919eb14 100644 --- a/src/math/Ray.js +++ b/src/math/Ray.js @@ -234,8 +234,6 @@ THREE.Ray.prototype = { intersectSphere: function () { - // from http://www.scratchapixel.com/lessons/3d-basic-lessons/lesson-7-intersecting-simple-shapes/ray-sphere-intersection/ - var v1 = new THREE.Vector3(); return function ( sphere, optionalTarget ) { @@ -350,8 +348,6 @@ THREE.Ray.prototype = { intersectBox: function ( box, optionalTarget ) { - // http://www.scratchapixel.com/lessons/3d-basic-lessons/lesson-7-intersecting-simple-shapes/ray-box-intersection/ - var tmin, tmax, tymin, tymax, tzmin, tzmax; var invdirx = 1 / this.direction.x,