define(["./Transforms-b51fdb37","./BoxGeometry-0452b1c9","./Rectangle-82621db8","./Color-3a9dd5fe","./CylinderGeometry-2b1b2ca2","./when-54335d57","./EllipsoidGeometry-86929abe","./IndexDatatype-edb2f4d6","./createTaskProcessorWorker","./Check-24483042","./Math-7a8129d6","./RuntimeError-88a32665","./GeometryOffsetAttribute-718fa138","./ComponentDatatype-1a100acd","./WebGLConstants-95ceb4e9","./GeometryAttribute-02fdce7a","./GeometryAttributes-caa08d6c","./VertexFormat-81ec7207","./PixelFormat-d198afce","./CylinderGeometryLibrary-8d99e1fd"],function(Z,D,q,S,W,_,N,Y,e,t,n,r,a,i,o,d,s,c,f,l){"use strict";function F(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}var u=new q.Cartesian3,h=Z.Matrix4.packedLength+q.Cartesian3.packedLength,b=Z.Matrix4.packedLength+2,p=Z.Matrix4.packedLength+q.Cartesian3.packedLength,y=q.Cartesian3.packedLength+1,x={modelMatrix:new Z.Matrix4,boundingVolume:new Z.BoundingSphere};function j(e,t){var n=t*h,r=q.Cartesian3.unpack(e,n,u);n+=q.Cartesian3.packedLength;var a=Z.Matrix4.unpack(e,n,x.modelMatrix);Z.Matrix4.multiplyByScale(a,r,a);var i=x.boundingVolume;return q.Cartesian3.clone(q.Cartesian3.ZERO,i.center),i.radius=Math.sqrt(3),x}function z(e,t){var n=t*b,r=e[n++],a=e[n++],i=q.Cartesian3.fromElements(r,r,a,u),o=Z.Matrix4.unpack(e,n,x.modelMatrix);Z.Matrix4.multiplyByScale(o,i,o);var d=x.boundingVolume;return q.Cartesian3.clone(q.Cartesian3.ZERO,d.center),d.radius=Math.sqrt(2),x}function H(e,t){var n=t*p,r=q.Cartesian3.unpack(e,n,u);n+=q.Cartesian3.packedLength;var a=Z.Matrix4.unpack(e,n,x.modelMatrix);Z.Matrix4.multiplyByScale(a,r,a);var i=x.boundingVolume;return q.Cartesian3.clone(q.Cartesian3.ZERO,i.center),i.radius=1,x}function J(e,t){var n=t*y,r=e[n++],a=q.Cartesian3.unpack(e,n,u),i=Z.Matrix4.fromTranslation(a,x.modelMatrix);Z.Matrix4.multiplyByUniformScale(i,r,i);var o=x.boundingVolume;return q.Cartesian3.clone(q.Cartesian3.ZERO,o.center),o.radius=1,x}var T=new q.Cartesian3;function K(e,t,n,r,a){if(_.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,v=e.positionOffset,m=e.batchIdIndex,C=e.indexOffset,I=e.batchedIndicesOffset,k=0;k