define(["./Transforms-d5c6ad6e","./BoxGeometry-507bc135","./Matrix2-ccd5b911","./Color-d6975cd2","./CylinderGeometry-d01014a0","./when-4bbc8319","./EllipsoidGeometry-abf94da3","./IndexDatatype-b7d979a6","./createTaskProcessorWorker","./RuntimeError-346a3079","./ComponentDatatype-93750d1a","./WebGLConstants-1c8239cc","./combine-83860057","./GeometryOffsetAttribute-1772960d","./GeometryAttribute-c30799b8","./GeometryAttributes-7827a6c2","./VertexFormat-71718faa","./CylinderGeometryLibrary-dc0b434b"],function(S,k,T,V,M,F,B,w,e,t,n,r,a,i,o,d,s,c){"use strict";function R(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var f=new T.Cartesian3,l=T.Matrix4.packedLength+T.Cartesian3.packedLength,u=T.Matrix4.packedLength+2,h=T.Matrix4.packedLength+T.Cartesian3.packedLength,b=T.Cartesian3.packedLength+1,p={modelMatrix:new T.Matrix4,boundingVolume:new S.BoundingSphere};function A(e,t){var n=t*l,t=T.Cartesian3.unpack(e,n,f);n+=T.Cartesian3.packedLength;n=T.Matrix4.unpack(e,n,p.modelMatrix);T.Matrix4.multiplyByScale(n,t,n);n=p.boundingVolume;return T.Cartesian3.clone(T.Cartesian3.ZERO,n.center),n.radius=Math.sqrt(3),p}function O(e,t){var n=t*u,r=e[n++],t=e[n++],t=T.Cartesian3.fromElements(r,r,t,f),n=T.Matrix4.unpack(e,n,p.modelMatrix);T.Matrix4.multiplyByScale(n,t,n);n=p.boundingVolume;return T.Cartesian3.clone(T.Cartesian3.ZERO,n.center),n.radius=Math.sqrt(2),p}function L(e,t){var n=t*h,t=T.Cartesian3.unpack(e,n,f);n+=T.Cartesian3.packedLength;n=T.Matrix4.unpack(e,n,p.modelMatrix);T.Matrix4.multiplyByScale(n,t,n);n=p.boundingVolume;return T.Cartesian3.clone(T.Cartesian3.ZERO,n.center),n.radius=1,p}function E(e,t){var n=t*b,t=e[n++],n=T.Cartesian3.unpack(e,n,f),n=T.Matrix4.fromTranslation(n,p.modelMatrix);T.Matrix4.multiplyByUniformScale(n,t,n);n=p.boundingVolume;return T.Cartesian3.clone(T.Cartesian3.ZERO,n.center),n.radius=1,p}var Z=new T.Cartesian3;function U(e,t,n,r,a){if(F.defined(t)){for(var i=n.length,o=r.attributes.position.values,d=r.indices,s=e.positions,c=e.vertexBatchIds,f=e.indices,l=e.batchIds,u=e.batchTableColors,h=e.batchedIndices,b=e.indexOffsets,p=e.indexCounts,y=e.boundingVolumes,x=e.modelMatrix,g=e.center,m=e.positionOffset,C=e.batchIdIndex,v=e.indexOffset,I=e.batchedIndicesOffset,k=0;k