define(["./AttributeCompression-194a7de3","./Matrix3-c381b58e","./Math-76ce6367","./Matrix2-f88429ba","./createTaskProcessorWorker","./ComponentDatatype-985dcc38","./defaultValue-865ac579","./WebGLConstants-258cf3a0","./RuntimeError-9e0724f9"],(function(e,a,t,r,n,o,i,s,c){"use strict";const u=32767,p=new a.Cartographic,l=new a.Cartesian3,f=new r.Rectangle,m=new a.Ellipsoid,h={min:void 0,max:void 0};return n((function(n,o){const i=new Uint16Array(n.positions);!function(e){e=new Float64Array(e);let t=0;h.min=e[t++],h.max=e[t++],r.Rectangle.unpack(e,t,f),t+=r.Rectangle.packedLength,a.Ellipsoid.unpack(e,t,m)}(n.packedBuffer);const s=f,c=m,d=h.min,C=h.max,g=i.length/3,b=i.subarray(0,g),w=i.subarray(g,2*g),k=i.subarray(2*g,3*g);e.AttributeCompression.zigZagDeltaDecode(b,w,k);const y=new Float64Array(i.length);for(let e=0;e<g;++e){const r=b[e],n=w[e],o=k[e],i=t.CesiumMath.lerp(s.west,s.east,r/u),f=t.CesiumMath.lerp(s.south,s.north,n/u),m=t.CesiumMath.lerp(d,C,o/u),h=a.Cartographic.fromRadians(i,f,m,p),g=c.cartographicToCartesian(h,l);a.Cartesian3.pack(g,y,3*e)}return o.push(y.buffer),{positions:y.buffer}}))}));
|