define(["./Transforms-0becfc64","./BoxGeometry-0310fe42","./Matrix2-860854d4","./Color-6e8680c8","./CylinderGeometry-fc2b24b4","./when-4bbc8319","./EllipsoidGeometry-ed3fa3da","./IndexDatatype-1d853600","./createTaskProcessorWorker","./RuntimeError-1349fdaf","./ComponentDatatype-8f55628c","./WebGLConstants-508b9636","./combine-e9466e32","./GeometryOffsetAttribute-24539cee","./GeometryAttribute-4590b388","./GeometryAttributes-7827a6c2","./VertexFormat-b8b51b88","./CylinderGeometryLibrary-31943ac1"],(function(e,t,n,r,i,a,o,s,c,d,l,f,u,h,b,p,y,x){"use strict";function g(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}const m=new n.Cartesian3,C=n.Matrix4.packedLength+n.Cartesian3.packedLength,I=n.Matrix4.packedLength+2,k=n.Matrix4.packedLength+n.Cartesian3.packedLength,M=n.Cartesian3.packedLength+1,B={modelMatrix:new n.Matrix4,boundingVolume:new e.BoundingSphere};function w(e,t){let r=t*C;const i=n.Cartesian3.unpack(e,r,m);r+=n.Cartesian3.packedLength;const a=n.Matrix4.unpack(e,r,B.modelMatrix);n.Matrix4.multiplyByScale(a,i,a);const o=B.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=Math.sqrt(3),B}function A(e,t){let r=t*I;const i=e[r++],a=e[r++],o=n.Cartesian3.fromElements(i,i,a,m),s=n.Matrix4.unpack(e,r,B.modelMatrix);n.Matrix4.multiplyByScale(s,o,s);const c=B.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,c.center),c.radius=Math.sqrt(2),B}function O(e,t){let r=t*k;const i=n.Cartesian3.unpack(e,r,m);r+=n.Cartesian3.packedLength;const a=n.Matrix4.unpack(e,r,B.modelMatrix);n.Matrix4.multiplyByScale(a,i,a);const o=B.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=1,B}function L(e,t){let r=t*M;const i=e[r++],a=n.Cartesian3.unpack(e,r,m),o=n.Matrix4.fromTranslation(a,B.modelMatrix);n.Matrix4.multiplyByUniformScale(o,i,o);const s=B.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,s.center),s.radius=1,B}const v=new n.Cartesian3;function E(t,i,o,s,c){if(!a.defined(i))return;const d=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,m=t.indexOffsets,C=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