define(["./when-cbf8cd21","./Check-35e1a91d","./Math-6a1814d8","./Cartesian2-c451a606","./WebGLConstants-95ceb4e9","./AttributeCompression-bb3dc748","./IndexDatatype-354a5ea3","./createTaskProcessorWorker"],function(a,e,q,z,t,L,_,r){"use strict";var G=32767,o=Math.cos(q.CesiumMath.toRadians(150)),Z=new z.Cartographic,Y=new z.Cartesian3;var j=new z.Cartographic,J=new z.Cartographic;function K(a){var e=8*a,t=3*e,r=4*e;this.startEllipsoidNormals=new Float32Array(t),this.endEllipsoidNormals=new Float32Array(t),this.startPositionAndHeights=new Float32Array(r),this.startFaceNormalAndVertexCornerIds=new Float32Array(r),this.endPositionAndHeights=new Float32Array(r),this.endFaceNormalAndHalfWidths=new Float32Array(r),this.vertexBatchIds=new Uint16Array(e),this.indices=_.IndexDatatype.createTypedArray(e,36*a),this.vec3Offset=0,this.vec4Offset=0,this.batchIdOffset=0,this.indexOffset=0,this.volumeStartIndex=0}var d=new z.Cartesian3,l=new z.Cartesian3;function H(a,e,t,r,s){var n=z.Cartesian3.subtract(t,e,l),i=z.Cartesian3.subtract(e,a,d);return z.Cartesian3.normalize(n,n),z.Cartesian3.normalize(i,i),z.Cartesian3.dot(n,i)