Browse Source

Ray: Removed references to avoid license confusion. See #7760.

Mr.doob 9 years ago
parent
commit
d97852924f
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/math/Ray.js

+ 0 - 4
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,