Browse Source

Protect Frustum against the closure circular reference bug

Tristan VALCKE 8 years ago
parent
commit
4e6f3e3653
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/math/Frustum.js

+ 2 - 2
src/math/Frustum.js

@@ -23,7 +23,7 @@ function Frustum( p0, p1, p2, p3, p4, p5 ) {
 
 
 }
 }
 
 
-Frustum.prototype = {
+Object.assign( Euler.prototype, {
 
 
 	constructor: Frustum,
 	constructor: Frustum,
 
 
@@ -198,7 +198,7 @@ Frustum.prototype = {
 
 
 	}
 	}
 
 
-};
+} );
 
 
 
 
 export { Frustum };
 export { Frustum };