define(["./AttributeCompression-e34a188e","./Matrix3-293ae7b3","./Math-76ce6367","./Matrix2-7f5bbd54","./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,b=i.length/3,g=i.subarray(0,b),w=i.subarray(b,2*b),k=i.subarray(2*b,3*b);e.AttributeCompression.zigZagDeltaDecode(g,w,k);const y=new Float64Array(i.length);for(let e=0;e<b;++e){const r=g[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),b=c.cartographicToCartesian(h,l);a.Cartesian3.pack(b,y,3*e)}return o.push(y.buffer),{positions:y.buffer}}))}));
|