define(["./Transforms-a7d32f6c","./BoxGeometry-3d518ca9","./Cartesian2-40b13f31","./Color-55a64d9e","./CylinderGeometry-1eec26e0","./when-7b580518","./EllipsoidGeometry-01796b7e","./IndexDatatype-b42089ce","./createTaskProcessorWorker","./Check-3917d765","./Math-87254c13","./combine-83aa7971","./RuntimeError-fad4d3c6","./GeometryOffsetAttribute-964ec9ef","./ComponentDatatype-6c2e43c1","./WebGLConstants-4e26b85a","./GeometryAttribute-8f00b923","./GeometryAttributes-fbd9a3fb","./VertexFormat-8d463a4f","./CylinderGeometryLibrary-069ad349"],function(S,k,T,V,M,F,B,w,e,t,n,r,a,i,o,d,s,c,f,l){"use strict";function R(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var u=new T.Cartesian3,h=S.Matrix4.packedLength+T.Cartesian3.packedLength,b=S.Matrix4.packedLength+2,p=S.Matrix4.packedLength+T.Cartesian3.packedLength,y=T.Cartesian3.packedLength+1,x={modelMatrix:new S.Matrix4,boundingVolume:new S.BoundingSphere};function A(e,t){var n=t*h,t=T.Cartesian3.unpack(e,n,u);n+=T.Cartesian3.packedLength;n=S.Matrix4.unpack(e,n,x.modelMatrix);S.Matrix4.multiplyByScale(n,t,n);n=x.boundingVolume;return T.Cartesian3.clone(T.Cartesian3.ZERO,n.center),n.radius=Math.sqrt(3),x}function O(e,t){var n=t*b,r=e[n++],t=e[n++],t=T.Cartesian3.fromElements(r,r,t,u),n=S.Matrix4.unpack(e,n,x.modelMatrix);S.Matrix4.multiplyByScale(n,t,n);n=x.boundingVolume;return T.Cartesian3.clone(T.Cartesian3.ZERO,n.center),n.radius=Math.sqrt(2),x}function L(e,t){var n=t*p,t=T.Cartesian3.unpack(e,n,u);n+=T.Cartesian3.packedLength;n=S.Matrix4.unpack(e,n,x.modelMatrix);S.Matrix4.multiplyByScale(n,t,n);n=x.boundingVolume;return T.Cartesian3.clone(T.Cartesian3.ZERO,n.center),n.radius=1,x}function E(e,t){var n=t*y,t=e[n++],n=T.Cartesian3.unpack(e,n,u),n=S.Matrix4.fromTranslation(n,x.modelMatrix);S.Matrix4.multiplyByUniformScale(n,t,n);n=x.boundingVolume;return T.Cartesian3.clone(T.Cartesian3.ZERO,n.center),n.radius=1,x}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,C=e.positionOffset,m=e.batchIdIndex,v=e.indexOffset,I=e.batchedIndicesOffset,k=0;k