define(["./AttributeCompression-1f045b73","./Matrix2-ccd5b911","./ComponentDatatype-93750d1a","./createTaskProcessorWorker","./RuntimeError-346a3079","./when-4bbc8319","./WebGLConstants-1c8239cc"],function(C,d,g,a,r,e,t){"use strict";var w=32767,v=new d.Cartographic,k=new d.Cartesian3,y=new d.Rectangle,A=new d.Ellipsoid,R={min:void 0,max:void 0};return a(function(a,r){var e=new Uint16Array(a.positions);!function(a){a=new Float64Array(a);var r=0;R.min=a[r++],R.max=a[r++],d.Rectangle.unpack(a,2,y),r+=d.Rectangle.packedLength,d.Ellipsoid.unpack(a,r,A)}(a.packedBuffer);var t=y,n=A,i=R.min,o=R.max,s=e.length/3,c=e.subarray(0,s),u=e.subarray(s,2*s),p=e.subarray(2*s,3*s);C.AttributeCompression.zigZagDeltaDecode(c,u,p);for(var l=new Float64Array(e.length),m=0;m<s;++m){var f=c[m],h=u[m],b=p[m],f=g.CesiumMath.lerp(t.west,t.east,f/w),h=g.CesiumMath.lerp(t.south,t.north,h/w),b=g.CesiumMath.lerp(i,o,b/w),b=d.Cartographic.fromRadians(f,h,b,v),b=n.cartographicToCartesian(b,k);d.Cartesian3.pack(b,l,3*m)}return r.push(l.buffer),{positions:l.buffer}})});
