浏览代码

fixed declaration of function

jotinha 12 年之前
父节点
当前提交
4939cc0fa8
共有 1 个文件被更改,包括 2 次插入2 次删除
  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(),
 			p2 = new THREE.Vector3();
@@ -166,7 +166,7 @@ THREE.Frustum.prototype = {
 			return true;
 		};
 
-	}();
+	}(),
 
 
 	containsPoint: function ( point ) {