Browse Source

remove unnecessary comments.

Ben Houston 12 years ago
parent
commit
b50a1a520e
2 changed files with 0 additions and 5 deletions
  1. 0 1
      src/core/Box3.js
  2. 0 4
      src/core/Plane.js

+ 0 - 1
src/core/Box3.js

@@ -4,7 +4,6 @@
 
 THREE.Box3 = function ( min, max ) {
 
-	// TODO: Is this valid JavaScript to check if the parameters are specified?
 	if( ! min && ! max ) {			
 		this.min = new THREE.Vector3();
 		this.max = new THREE.Vector3();

+ 0 - 4
src/core/Plane.js

@@ -30,7 +30,6 @@ THREE.Plane.prototype = {
 	},
 
 	setFromNormalAndCoplanarPoint: function ( normal, point ) {
-		// NOTE: This function doens't support optional parameters like the constructor.
 
 		this.normal = normal;
 		this.constant = - point.dot( normal );
@@ -39,7 +38,6 @@ THREE.Plane.prototype = {
 	},
 
 	setFromCoplanarPoints: function ( a, b, c ) {
-		// NOTE: This function doens't support optional parameters like the constructor.
 
 		var normal = new THREE.Vector3().sub( b, a ).cross(
 			new THREE.Vector3().sub( c, a ) );
@@ -60,7 +58,6 @@ THREE.Plane.prototype = {
 
 	flip: function () {
 
-		// Note: can also be flipped by inverting constant, but I like constant to stay positive generally.
 		this.normal.negate();
 
 		return this;
@@ -116,7 +113,6 @@ THREE.Plane.prototype = {
 
 	translate: function ( offset ) {
 
-		// TODO: test this.
 		this.constant =	- offset.dot( normal );
 
 		return this;