Explorar o código

format the code

zhaoy %!s(int64=7) %!d(string=hai) anos
pai
achega
6fbd949985
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;