Browse Source

format the code

zhaoy 7 years ago
parent
commit
6fbd949985
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/math/Frustum.js

+ 1 - 1
src/math/Frustum.js

@@ -155,7 +155,7 @@ Object.assign( Frustum.prototype, {
 				p.y = plane.normal.y > 0 ? box.max.y : box.min.y;
 				p.z = plane.normal.z > 0 ? box.max.z : box.min.z;
 				
-				if(plane.distanceToPoint( p ) < 0){
+				if ( plane.distanceToPoint( p ) < 0 ) {
 
 					return false;