Explorar o código

fixed declaration of function

jotinha %!s(int64=12) %!d(string=hai) anos
pai
achega
4939cc0fa8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 ) {