set method

Frustum set(
  1. Plane p0,
  2. Plane p1,
  3. Plane p2,
  4. Plane p3,
  5. Plane p4,
  6. Plane p5,
)

Implementation

Frustum set(Plane p0, Plane p1, Plane p2, Plane p3, Plane p4, Plane p5) {
  final planes = this.planes;

  planes[0].copyFrom(p0);
  planes[1].copyFrom(p1);
  planes[2].copyFrom(p2);
  planes[3].copyFrom(p3);
  planes[4].copyFrom(p4);
  planes[5].copyFrom(p5);

  return this;
}