|
@@ -150,7 +150,8 @@ Object.assign( Frustum.prototype, {
|
|
|
|
|
|
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.y = plane.normal.y > 0 ? box.max.y : box.min.y;
|
|
|
p.z = plane.normal.z > 0 ? box.max.z : box.min.z;
|