/** * Cesium - https://github.com/CesiumGS/cesium * * Copyright 2011-2020 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/master/LICENSE.md for full licensing details. */ define(["./when-8d13db60","./Check-70bec281","./Math-61ede240","./Cartographic-f27b0939","./Cartesian2-09435a6c","./BoundingSphere-c409f092","./Cartesian4-5af5bb24","./RuntimeError-ba10bc3e","./WebGLConstants-4c11ee5f","./ComponentDatatype-5862616f","./PrimitiveType-97893bc7","./FeatureDetection-7bd32c34","./IndexDatatype-9435b55f","./createTaskProcessorWorker","./BoundingRectangle-3d4f3d01","./Color-69f1845f","./pako_inflate-8ea163f9","./S3MCompressType-c0bf5136"],function(t,e,n,r,a,i,E,o,s,O,y,T,p,A,_,u,pt,At){function _t(t,e,n,r,a,i){this.left=t,this.bottom=e,this.right=n,this.top=r,this.minHeight=a,this.maxHeight=i,this.width=n-t,this.length=r-e,this.height=i-a}function ut(t,e,n,r,a){var i=n.getUint32(r,!0);r+=Uint32Array.BYTES_PER_ELEMENT;var E=0,o={},s=o.vertexAttributes=[],y=o.attrLocation={};o.instanceCount=0;var T=o.instanceMode=0;n.getUint32(r,!0);r+=Uint32Array.BYTES_PER_ELEMENT;var p=n.getUint16(r,!0);r+=Uint32Array.BYTES_PER_ELEMENT;var A=p;4
>8,p&=15);var _=n.getUint32(r,!0);if(r+=Uint32Array.BYTES_PER_ELEMENT,0<_){var u=n.getUint16(r,!0);u=p*Float32Array.BYTES_PER_ELEMENT,r+=Uint32Array.BYTES_PER_ELEMENT,E=_*u,y.aPosition=T,s.push({index:y.aPosition,typedArray:e.subarray(r,r+E),componentsPerAttribute:p,componentDatatype:O.ComponentDatatype.FLOAT,offsetInBytes:0,strideInBytes:u,normalize:!1}),T++,r+=E}var v=n.getUint32(r,!0);if(r+=Uint32Array.BYTES_PER_ELEMENT,0