define(["./BoundingSphere-9a3b5656","./BoxGeometry-786261a7","./Cartesian3-e0307675","./Color-82ef4a75","./CylinderGeometry-73e7e8e1","./defaultValue-81eec7ed","./EllipsoidGeometry-204918b6","./IndexDatatype-3f3c99e8","./Matrix4-4c545f70","./createTaskProcessorWorker","./Cartesian2-bd414876","./Check-741c5f3c","./Math-e73894ab","./GeographicProjection-c931c7fb","./Rectangle-cf3e0e3e","./GeometryOffsetAttribute-ed56ff58","./ComponentDatatype-aaeec80f","./WebGLConstants-508b9636","./GeometryAttribute-2b42a913","./Matrix2-dc0c61cc","./Transforms-5b829630","./when-422ea0ae","./Resource-8ae1a924","./combine-3c023bda","./RuntimeError-26acdd3b","./GeometryAttributes-32b29525","./VertexFormat-d50a69ba","./CylinderGeometryLibrary-6ad7b69e"],(function(e,t,n,a,r,i,o,s,c,d,l,f,u,h,b,p,y,g,x,C,m,I,k,M,B,w,A,O){"use strict";function L(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}const v=new n.Cartesian3,E=c.Matrix4.packedLength+n.Cartesian3.packedLength,U=c.Matrix4.packedLength+2,G=c.Matrix4.packedLength+n.Cartesian3.packedLength,S=n.Cartesian3.packedLength+1,V={modelMatrix:new c.Matrix4,boundingVolume:new e.BoundingSphere};function R(e,t){let a=t*E;const r=n.Cartesian3.unpack(e,a,v);a+=n.Cartesian3.packedLength;const i=c.Matrix4.unpack(e,a,V.modelMatrix);c.Matrix4.multiplyByScale(i,r,i);const o=V.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=Math.sqrt(3),V}function T(e,t){let a=t*U;const r=e[a++],i=e[a++],o=n.Cartesian3.fromElements(r,r,i,v),s=c.Matrix4.unpack(e,a,V.modelMatrix);c.Matrix4.multiplyByScale(s,o,s);const d=V.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,d.center),d.radius=Math.sqrt(2),V}function F(e,t){let a=t*G;const r=n.Cartesian3.unpack(e,a,v);a+=n.Cartesian3.packedLength;const i=c.Matrix4.unpack(e,a,V.modelMatrix);c.Matrix4.multiplyByScale(i,r,i);const o=V.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=1,V}function P(e,t){let a=t*S;const r=e[a++],i=n.Cartesian3.unpack(e,a,v),o=c.Matrix4.fromTranslation(i,V.modelMatrix);c.Matrix4.multiplyByUniformScale(o,r,o);const s=V.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,s.center),s.radius=1,V}const Z=new n.Cartesian3;function D(t,r,o,s,d){if(!i.defined(r))return;const l=o.length,f=s.attributes.position.values,u=s.indices,h=t.positions,b=t.vertexBatchIds,p=t.indices,y=t.batchIds,g=t.batchTableColors,x=t.batchedIndices,C=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