define(["./Transforms-d13cc04e","./BoxGeometry-bdb0d59d","./Matrix2-9aa31791","./Color-1ab5c5c7","./CylinderGeometry-34e307a4","./when-4bbc8319","./EllipsoidGeometry-9a4ae869","./IndexDatatype-b7d979a6","./createTaskProcessorWorker","./RuntimeError-346a3079","./ComponentDatatype-93750d1a","./WebGLConstants-1c8239cc","./combine-83860057","./GeometryOffsetAttribute-1772960d","./GeometryAttribute-43536dc0","./GeometryAttributes-7827a6c2","./VertexFormat-71718faa","./CylinderGeometryLibrary-dc0b434b"],(function(e,t,n,r,a,i,o,d,s,c,f,l,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}var v=new n.Cartesian3,m=n.Matrix4.packedLength+n.Cartesian3.packedLength,C=n.Matrix4.packedLength+2,I=n.Matrix4.packedLength+n.Cartesian3.packedLength,k=n.Cartesian3.packedLength+1,M={modelMatrix:new n.Matrix4,boundingVolume:new e.BoundingSphere};function B(e,t){var r=t*m,a=n.Cartesian3.unpack(e,r,v);r+=n.Cartesian3.packedLength;var i=n.Matrix4.unpack(e,r,M.modelMatrix);n.Matrix4.multiplyByScale(i,a,i);var o=M.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=Math.sqrt(3),M}function w(e,t){var r=t*C,a=e[r++],i=e[r++],o=n.Cartesian3.fromElements(a,a,i,v),d=n.Matrix4.unpack(e,r,M.modelMatrix);n.Matrix4.multiplyByScale(d,o,d);var s=M.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,s.center),s.radius=Math.sqrt(2),M}function A(e,t){var r=t*I,a=n.Cartesian3.unpack(e,r,v);r+=n.Cartesian3.packedLength;var i=n.Matrix4.unpack(e,r,M.modelMatrix);n.Matrix4.multiplyByScale(i,a,i);var o=M.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=1,M}function O(e,t){var r=t*k,a=e[r++],i=n.Cartesian3.unpack(e,r,v),o=n.Matrix4.fromTranslation(i,M.modelMatrix);n.Matrix4.multiplyByUniformScale(o,a,o);var d=M.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,d.center),d.radius=1,M}var L=new n.Cartesian3;function E(t,a,o,d,s){if(i.defined(a)){for(var c=o.length,f=d.attributes.position.values,l=d.indices,u=t.positions,h=t.vertexBatchIds,b=t.indices,p=t.batchIds,y=t.batchTableColors,x=t.batchedIndices,v=t.indexOffsets,m=t.indexCounts,C=t.boundingVolumes,I=t.modelMatrix,k=t.center,M=t.positionOffset,B=t.batchIdIndex,w=t.indexOffset,A=t.batchedIndicesOffset,O=0;O