define(["./GeometryOffsetAttribute-9dbaeacc","./arrayRemoveDuplicates-328bac4c","./Transforms-a6362ad2","./Matrix2-ae0e0b05","./RuntimeError-ffc802eb","./ComponentDatatype-64cf6611","./PolylineVolumeGeometryLibrary-1ff78bc3","./CorridorGeometryLibrary-961c5a13","./when-e3a49219","./GeometryAttribute-50aef525","./GeometryAttributes-3db3f2c9","./IndexDatatype-e12e2493","./PolygonPipeline-2bbe6eb1","./VertexFormat-9bafa8ef","./combine-c7a1ec8a","./PixelFormat-83d70a69","./WebGLConstants-1c8239cc","./EllipsoidTangentPlane-e3af9e65","./AxisAlignedBoundingBox-699685f5","./IntersectionTests-8be403d7","./Plane-2bf1bb80","./PolylinePipeline-e16881a5","./EllipsoidGeodesic-524df442","./EllipsoidRhumbLine-b6518e5c"],(function(t,e,r,a,i,o,n,s,l,d,u,m,f,y,c,p,g,h,b,C,v,A,_,w){"use strict";var T=new a.Cartesian3,G=new a.Cartesian3,E=new a.Cartesian3,V=new a.Cartesian3,x=new a.Cartesian3,F=new a.Cartesian3,L=new a.Cartesian3,P=new a.Cartesian3;function N(t,e){for(var r=0;rht;n--)pt=o.CesiumMath.PI_OVER_TWO-n*gt,yt[ct++]=1-mt*(1+Math.cos(pt)),yt[ct++]=.5*(1+Math.sin(pt));for(n=ht;n>0;n--)pt=o.CesiumMath.PI_OVER_TWO-gt*n,yt[ct++]=1-ft*(1+Math.cos(pt)),yt[ct++]=.5*(1+Math.sin(pt));for(n=C-w;n>0;n--)yt[ct++]=n*ft,yt[ct++]=1;for(n=1;n0;n--)yt[ct++]=(n-1)*ft,yt[ct++]=1}b.st=new d.GeometryAttribute({componentDatatype:o.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:yt})}return e.normal&&(b.normal=new d.GeometryAttribute({componentDatatype:o.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:z.normals})),e.tangent&&(b.tangent=new d.GeometryAttribute({componentDatatype:o.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:z.tangents})),e.bitangent&&(b.bitangent=new d.GeometryAttribute({componentDatatype:o.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:z.bitangents})),{attributes:b,indices:J}}function O(t,e,r){r[e++]=t[0],r[e++]=t[1],r[e++]=t[2];for(var a=3;a