Pārlūkot izejas kodu

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

Mr.doob 9 gadi atpakaļ
vecāks
revīzija
d97852924f
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  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,