define(["exports","./BoundingSphere-9a3b5656","./Cartesian3-e0307675","./Matrix4-4c545f70","./Check-741c5f3c","./ComponentDatatype-aaeec80f","./defaultValue-81eec7ed","./GeometryAttribute-2b42a913","./GeometryAttributes-32b29525","./Math-e73894ab","./Plane-bc8b6777","./Transforms-5b829630","./VertexFormat-d50a69ba"],(function(t,e,a,i,n,r,o,s,f,u,l,h,c){"use strict";function p(t){this.planes=o.defaultValue(t,[])}const d=[new a.Cartesian3,new a.Cartesian3,new a.Cartesian3];a.Cartesian3.clone(a.Cartesian3.UNIT_X,d[0]),a.Cartesian3.clone(a.Cartesian3.UNIT_Y,d[1]),a.Cartesian3.clone(a.Cartesian3.UNIT_Z,d[2]);const m=new a.Cartesian3,C=new a.Cartesian3,_=new l.Plane(new a.Cartesian3(1,0,0),0);function y(t){t=o.defaultValue(t,o.defaultValue.EMPTY_OBJECT),this.left=t.left,this._left=void 0,this.right=t.right,this._right=void 0,this.top=t.top,this._top=void 0,this.bottom=t.bottom,this._bottom=void 0,this.near=o.defaultValue(t.near,1),this._near=this.near,this.far=o.defaultValue(t.far,5e8),this._far=this.far,this._cullingVolume=new p,this._orthographicMatrix=new i.Matrix4}function g(t){t.top===t._top&&t.bottom===t._bottom&&t.left===t._left&&t.right===t._right&&t.near===t._near&&t.far===t._far||(t._left=t.left,t._right=t.right,t._top=t.top,t._bottom=t.bottom,t._near=t.near,t._far=t.far,t._orthographicMatrix=i.Matrix4.computeOrthographicOffCenter(t.left,t.right,t.bottom,t.top,t.near,t.far,t._orthographicMatrix))}p.fromBoundingSphere=function(t,e){o.defined(e)||(e=new p);const n=d.length,r=e.planes;r.length=2*n;const s=t.center,f=t.radius;let u=0;for(let t=0;t