Browse Source

format the code

zhaoy 7 năm trước cách đây
mục cha
commit
6fbd949985
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;