define(["exports","./Transforms-99272364","./Cartesian3-7e9cc2ff","./Matrix4-d34187af","./Check-741c5f3c","./ComponentDatatype-aaeec80f","./defaultValue-81eec7ed","./GeometryAttribute-088ad91d","./GeometryAttributes-32b29525","./Math-5f585871","./Plane-4f75b3df","./VertexFormat-d50a69ba"],(function(t,e,a,n,i,r,o,s,f,u,l,c){"use strict";function h(t){this.planes=o.defaultValue(t,[])}const p=[new a.Cartesian3,new a.Cartesian3,new a.Cartesian3];a.Cartesian3.clone(a.Cartesian3.UNIT_X,p[0]),a.Cartesian3.clone(a.Cartesian3.UNIT_Y,p[1]),a.Cartesian3.clone(a.Cartesian3.UNIT_Z,p[2]);const d=new a.Cartesian3,m=new a.Cartesian3,C=new l.Plane(new a.Cartesian3(1,0,0),0);function _(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 h,this._orthographicMatrix=new n.Matrix4}function y(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=n.Matrix4.computeOrthographicOffCenter(t.left,t.right,t.bottom,t.top,t.near,t.far,t._orthographicMatrix))}h.fromBoundingSphere=function(t,e){o.defined(e)||(e=new h);const i=p.length,r=e.planes;r.length=2*i;const s=t.center,f=t.radius;let u=0;for(let t=0;t