define(["./Transforms-3e1dc9c2","./BoxGeometry-c3cf7e8a","./Matrix2-52f9f880","./Color-6b5fa738","./CylinderGeometry-5585072a","./defaultValue-69ee94f4","./EllipsoidGeometry-38f68f70","./IndexDatatype-1cbc8622","./createTaskProcessorWorker","./RuntimeError-ac440aa5","./ComponentDatatype-a9820060","./WebGLConstants-f63312fc","./_commonjsHelpers-3aae1032-15991586","./combine-0259f56f","./GeometryOffsetAttribute-4d39b441","./GeometryAttribute-c774c37f","./GeometryAttributes-1b4134a9","./VertexFormat-e68722dd","./PixelFormat-9ceadbf3","./CylinderGeometryLibrary-fe5ec654"],(function(e,t,n,r,a,i,o,s,c,d,l,f,u,h,p,b,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 c=A.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,c.center),c.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,c){if(!i.defined(a))return;const d=o.length,l=s.attributes.position.values,f=s.indices,u=t.positions,h=t.vertexBatchIds,p=t.indices,b=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