define(["./AttributeCompression-8f752c03","./Cartesian3-e0307675","./Cartesian2-bd414876","./combine-3c023bda","./IndexDatatype-3f3c99e8","./Math-e73894ab","./Rectangle-cf3e0e3e","./createTaskProcessorWorker","./ComponentDatatype-aaeec80f","./defaultValue-81eec7ed","./Check-741c5f3c","./WebGLConstants-508b9636","./Matrix4-4c545f70","./RuntimeError-26acdd3b","./Matrix2-dc0c61cc","./when-422ea0ae"],(function(t,e,a,s,n,r,i,o,c,d,l,f,h,u,C,p){"use strict";const m=32767,b=Math.cos(r.CesiumMath.toRadians(150)),A=new a.Cartographic,w=new e.Cartesian3;const g=new a.Cartographic,y=new a.Cartographic;function N(t){const e=8*t,a=3*e,s=4*e;this.startEllipsoidNormals=new Float32Array(a),this.endEllipsoidNormals=new Float32Array(a),this.startPositionAndHeights=new Float32Array(s),this.startFaceNormalAndVertexCornerIds=new Float32Array(s),this.endPositionAndHeights=new Float32Array(s),this.endFaceNormalAndHalfWidths=new Float32Array(s),this.vertexBatchIds=new Uint16Array(e),this.indices=n.IndexDatatype.createTypedArray(e,36*t),this.vec3Offset=0,this.vec4Offset=0,this.batchIdOffset=0,this.indexOffset=0,this.volumeStartIndex=0}const k=new e.Cartesian3,x=new e.Cartesian3;function I(t,a,s,n,r){const i=e.Cartesian3.subtract(s,a,x);let o=e.Cartesian3.subtract(a,t,k);return e.Cartesian3.normalize(i,i),e.Cartesian3.normalize(o,o),e.Cartesian3.dot(i,o)