src/geom/Frustum.js
function (left, right, bottom, top, near, far) {
            if (!left || !right || !bottom || !top || !near || !far) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "Frustum", "constructor", "missingPlane"));
            }

            // Internal. Intentionally not documented. See property accessors below for public interface.
            this._left = left;
            this._right = right;
            this._bottom = bottom;
            this._top = top;
            this._near = near;
            this._far = far;

            // Internal. Intentionally not documented.
            this._planes = [this._left, this._right, this._top, this._bottom, this._near, this._far];
        }
function (left, right, bottom, top, near, far) {
            if (!left || !right || !bottom || !top || !near || !far) {
                throw new ArgumentError(
                    Logger.logMessage(Logger.LEVEL_SEVERE, "Frustum", "constructor", "missingPlane"));
            }

            // Internal. Intentionally not documented. See property accessors below for public interface.
            this._left = left;
            this._right = right;
            this._bottom = bottom;
            this._top = top;
            this._near = near;
            this._far = far;

            // Internal. Intentionally not documented.
            this._planes = [this._left, this._right, this._top, this._bottom, this._near, this._far];
        }
function ( left , right , bottom , top , near , far ) { if ( ! left || ! right || ! bottom || ! top || ! near || ! far ) { throw new ArgumentError ( Logger . logMessage ( Logger . LEVEL_SEVERE , "Frustum" , "constructor" , "missingPlane" ) ) ; } // Internal. Intentionally not documented. See property accessors below for public interface. this . _left = left ; this . _right = right ; this . _bottom = bottom ; this . _top = top ; this . _near = near ; this . _far = far ; // Internal. Intentionally not documented. this . _planes = [ this . _left , this . _right , this . _top , this . _bottom , this . _near , this . _far ] ; }
Constructs a frustum.
@alias Frustum
@constructor
@classdesc Represents a six-sided view frustum in Cartesian coordinates.
@param {Plane} left The frustum's left plane.
@param {Plane} right The frustum's right plane.
@param {Plane} bottom The frustum's bottom plane.
@param {Plane} top The frustum's top plane.
@param {Plane} near The frustum's near plane.
@param {Plane} far The frustum's far plane.
@throws {ArgumentError} If any specified plane is null or undefined.
Constructs a frustum .