define(["exports","./BoundingSphere-561b54d0","./Cartographic-3309dd0d","./Cartesian4-3ca25aab","./Check-7b2a090c","./ComponentDatatype-c140a87d","./when-b60132fc","./GeometryAttribute-3a42bbdc","./GeometryAttributes-252e9929","./Math-119be1a3","./Plane-097b3a8f","./PrimitiveType-39acab88","./Transforms-cb0006b0","./VertexFormat-6446fca0"],(function(t,e,a,i,r,n,o,s,f,u,h,l,p,c){"use strict";function d(t){this.planes=o.defaultValue(t,[]),this.enableFusion=!1}var m=[new a.Cartesian3,new a.Cartesian3,new a.Cartesian3];a.Cartesian3.clone(a.Cartesian3.UNIT_X,m[0]),a.Cartesian3.clone(a.Cartesian3.UNIT_Y,m[1]),a.Cartesian3.clone(a.Cartesian3.UNIT_Z,m[2]);var C=new a.Cartesian3,_=new a.Cartesian3,y=new h.Plane(new a.Cartesian3(1,0,0),0);function v(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 d,this._orthographicMatrix=new e.Matrix4}function w(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=e.Matrix4.computeOrthographicOffCenter(t.left,t.right,t.bottom,t.top,t.near,t.far,t._orthographicMatrix))}d.fromBoundingSphere=function(t,e){o.defined(e)||(e=new d);var r=m.length,n=e.planes;n.length=2*r;for(var s=t.center,f=t.radius,u=0,h=0;h