瀏覽代碼

Clean up.

Mr.doob 7 年之前
父節點
當前提交
ea5de67335
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/math/Frustum.js

+ 2 - 1
src/math/Frustum.js

@@ -150,7 +150,8 @@ Object.assign( Frustum.prototype, {
 
 
 				var plane = planes[ i ];
 				var plane = planes[ i ];
 
 
-				//corner at max distance
+				// corner at max distance
+
 				p.x = plane.normal.x > 0 ? box.max.x : box.min.x;
 				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.y = plane.normal.y > 0 ? box.max.y : box.min.y;
 				p.z = plane.normal.z > 0 ? box.max.z : box.min.z;
 				p.z = plane.normal.z > 0 ? box.max.z : box.min.z;