/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.96 * * Copyright 2011-2022 Cesium Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Columbus View (Pat. Pend.) * * Portions licensed separately. * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details. */ define(["./Matrix2-735f0ea9","./combine-c04aaa26","./AttributeCompression-f967afc2","./ComponentDatatype-6ff7d2c3","./IndexDatatype-d42fd89c","./createTaskProcessorWorker","./RuntimeError-17a7ed3d","./defaultValue-6ed27e8d","./WebGLConstants-d878ea52"],(function(e,a,t,n,r,s,i,o,c){"use strict";const u=32767,f=new e.Cartographic,d=new e.Cartesian3;const p=new e.Rectangle,l=new e.Ellipsoid,C=new e.Cartesian3,b={min:void 0,max:void 0};const w=new e.Cartesian3,y=new e.Cartesian3,h=new e.Cartesian3,k=new e.Cartesian3,m=new e.Cartesian3;return s((function(s,i){const o=new Uint16Array(s.positions),c=new Uint16Array(s.widths),A=new Uint32Array(s.counts),g=new Uint16Array(s.batchIds);!function(a){a=new Float64Array(a);let t=0;b.min=a[t++],b.max=a[t++],e.Rectangle.unpack(a,t,p),t+=e.Rectangle.packedLength,e.Ellipsoid.unpack(a,t,l),t+=e.Ellipsoid.packedLength,e.Cartesian3.unpack(a,t,C)}(s.packedBuffer);const x=l,D=C,E=function(a,r,s,i,o){const c=a.length/3,p=a.subarray(0,c),l=a.subarray(c,2*c),C=a.subarray(2*c,3*c);t.AttributeCompression.zigZagDeltaDecode(p,l,C);const b=new Float64Array(a.length);for(let a=0;a