define(["./Transforms-b2d190a4","./BoxGeometry-34f0a1bb","./Matrix2-671a840a","./Color-4d276594","./CylinderGeometry-b4e984d1","./defaultValue-69ee94f4","./EllipsoidGeometry-f6ef6479","./IndexDatatype-1cbc8622","./createTaskProcessorWorker","./RuntimeError-ac440aa5","./ComponentDatatype-a9820060","./WebGLConstants-f63312fc","./_commonjsHelpers-3aae1032-15991586","./combine-0259f56f","./GeometryOffsetAttribute-4d39b441","./GeometryAttribute-77f8362f","./GeometryAttributes-1b4134a9","./VertexFormat-e68722dd","./PixelFormat-9ceadbf3","./CylinderGeometryLibrary-fe5ec654"],(function(e,t,n,r,a,i,o,s,d,c,l,f,u,h,b,p,y,x,g,m){"use strict";function C(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}const I=new n.Cartesian3,k=n.Matrix4.packedLength+n.Cartesian3.packedLength,M=n.Matrix4.packedLength+2,B=n.Matrix4.packedLength+n.Cartesian3.packedLength,w=n.Cartesian3.packedLength+1,A={modelMatrix:new n.Matrix4,boundingVolume:new e.BoundingSphere};function O(e,t){let r=t*k;const a=n.Cartesian3.unpack(e,r,I);r+=n.Cartesian3.packedLength;const i=n.Matrix4.unpack(e,r,A.modelMatrix);n.Matrix4.multiplyByScale(i,a,i);const o=A.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=Math.sqrt(3),A}function L(e,t){let r=t*M;const a=e[r++],i=e[r++],o=n.Cartesian3.fromElements(a,a,i,I),s=n.Matrix4.unpack(e,r,A.modelMatrix);n.Matrix4.multiplyByScale(s,o,s);const d=A.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,d.center),d.radius=Math.sqrt(2),A}function v(e,t){let r=t*B;const a=n.Cartesian3.unpack(e,r,I);r+=n.Cartesian3.packedLength;const i=n.Matrix4.unpack(e,r,A.modelMatrix);n.Matrix4.multiplyByScale(i,a,i);const o=A.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=1,A}function E(e,t){let r=t*w;const a=e[r++],i=n.Cartesian3.unpack(e,r,I),o=n.Matrix4.fromTranslation(i,A.modelMatrix);n.Matrix4.multiplyByUniformScale(o,a,o);const s=A.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,s.center),s.radius=1,A}const U=new n.Cartesian3;function G(t,a,o,s,d){if(!i.defined(a))return;const c=o.length,l=s.attributes.position.values,f=s.indices,u=t.positions,h=t.vertexBatchIds,b=t.indices,p=t.batchIds,y=t.batchTableColors,x=t.batchedIndices,g=t.indexOffsets,m=t.indexCounts,I=t.boundingVolumes,k=t.modelMatrix,M=t.center;let B=t.positionOffset,w=t.batchIdIndex,A=t.indexOffset;const O=t.batchedIndicesOffset;for(let t=0;t