From bfad0e883a91b23ced5fd01defb5f4d8276fe768 Mon Sep 17 00:00:00 2001 From: zhaoy Date: Wed, 27 Jun 2018 14:18:24 +0800 Subject: [PATCH] format code --- src/math/Frustum.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math/Frustum.js b/src/math/Frustum.js index 9867e0c465..9806b48efa 100644 --- a/src/math/Frustum.js +++ b/src/math/Frustum.js @@ -149,12 +149,12 @@ Object.assign( Frustum.prototype, { for ( var i = 0; i < 6; i ++ ) { var plane = planes[ i ]; - + //corner at max distance p.x = plane.normal.x > 0 ? box.max.x : box.min.x; 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 ) { return false; -- GitLab