Frustum constructor
Frustum([
- Plane? p0,
- Plane? p1,
- Plane? p2,
- Plane? p3,
- Plane? p4,
- Plane? p5,
Implementation
Frustum([Plane? p0, Plane? p1, Plane? p2, Plane? p3, Plane? p4, Plane? p5]) {
planes = [
(p0 != null) ? p0 : Plane(),
(p1 != null) ? p1 : Plane(),
(p2 != null) ? p2 : Plane(),
(p3 != null) ? p3 : Plane(),
(p4 != null) ? p4 : Plane(),
(p5 != null) ? p5 : Plane()
];
}