define(["./BoundingSphere-561b54d0","./BoxGeometry-0dd3f663","./Cartographic-3309dd0d","./Color-5008547b","./CylinderGeometry-3c6f6674","./when-b60132fc","./EllipsoidGeometry-0bb3b822","./IndexDatatype-8a5eead4","./createTaskProcessorWorker","./Check-7b2a090c","./Cartesian2-47311507","./Math-119be1a3","./Cartesian4-3ca25aab","./RuntimeError-4a5c8994","./arrayFill-4513d7ad","./ComponentDatatype-c140a87d","./WebGLConstants-4ae0db90","./GeometryAttribute-3a42bbdc","./PrimitiveType-39acab88","./Transforms-cb0006b0","./buildModuleUrl-3addfe33","./FeatureDetection-c3b71206","./GeometryAttributes-252e9929","./GeometryOffsetAttribute-fbeb6f1a","./VertexFormat-6446fca0","./CylinderGeometryLibrary-aa453214"],(function(e,t,a,r,n,i,o,d,s,c,f,l,u,h,b,p,y,g,v,x,C,m,I,k,M,B){"use strict";function w(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var A=new a.Cartesian3,O=e.Matrix4.packedLength+a.Cartesian3.packedLength,L=e.Matrix4.packedLength+2,E=e.Matrix4.packedLength+a.Cartesian3.packedLength,U=a.Cartesian3.packedLength+1,G={modelMatrix:new e.Matrix4,boundingVolume:new e.BoundingSphere};function S(t,r){var n=r*O,i=a.Cartesian3.unpack(t,n,A);n+=a.Cartesian3.packedLength;var o=e.Matrix4.unpack(t,n,G.modelMatrix);e.Matrix4.multiplyByScale(o,i,o);var d=G.boundingVolume;return a.Cartesian3.clone(a.Cartesian3.ZERO,d.center),d.radius=Math.sqrt(3),G}function F(t,r){var n=r*L,i=t[n++],o=t[n++],d=a.Cartesian3.fromElements(i,i,o,A),s=e.Matrix4.unpack(t,n,G.modelMatrix);e.Matrix4.multiplyByScale(s,d,s);var c=G.boundingVolume;return a.Cartesian3.clone(a.Cartesian3.ZERO,c.center),c.radius=Math.sqrt(2),G}function T(t,r){var n=r*E,i=a.Cartesian3.unpack(t,n,A);n+=a.Cartesian3.packedLength;var o=e.Matrix4.unpack(t,n,G.modelMatrix);e.Matrix4.multiplyByScale(o,i,o);var d=G.boundingVolume;return a.Cartesian3.clone(a.Cartesian3.ZERO,d.center),d.radius=1,G}function V(t,r){var n=r*U,i=t[n++],o=a.Cartesian3.unpack(t,n,A),d=e.Matrix4.fromTranslation(o,G.modelMatrix);e.Matrix4.multiplyByUniformScale(d,i,d);var s=G.boundingVolume;return a.Cartesian3.clone(a.Cartesian3.ZERO,s.center),s.radius=1,G}var R=new a.Cartesian3;function D(t,n,o,d,s){if(i.defined(n)){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,g=t.batchedIndices,v=t.indexOffsets,x=t.indexCounts,C=t.boundingVolumes,m=t.modelMatrix,I=t.center,k=t.positionOffset,M=t.batchIdIndex,B=t.indexOffset,A=t.batchedIndicesOffset,O=0;O