소스 검색

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 ) {