Browse Source

fixed declaration of function

jotinha 12 years ago
parent
commit
4939cc0fa8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/math/Frustum.js

+ 2 - 2
src/math/Frustum.js

@@ -131,7 +131,7 @@ THREE.Frustum.prototype = {
 
 
 	},
 	},
 
 
-	intersectsBox = function() {
+	intersectsBox : function() {
 
 
 		var p1 = new THREE.Vector3(),
 		var p1 = new THREE.Vector3(),
 			p2 = new THREE.Vector3();
 			p2 = new THREE.Vector3();
@@ -166,7 +166,7 @@ THREE.Frustum.prototype = {
 			return true;
 			return true;
 		};
 		};
 
 
-	}();
+	}(),
 
 
 
 
 	containsPoint: function ( point ) {
 	containsPoint: function ( point ) {