提交 bfad0e88 编写于 作者: Z zhaoy

format code

上级 6fbd9499
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册