UNPKG

mars3d-cesium

Version:

CesiumJS是一个JavaScript库,用于在web浏览器中无需插件创建3D地球仪和2D地图,mars3d-cesium是mars3d团队修改版本的CesiumJS。

27 lines (25 loc) 2.27 kB
/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.142.1 * * 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. */ import{a as f}from"./chunk-B2DQOEDE.js";import"./chunk-L6XPUI5D.js";import"./chunk-LS5FAYAA.js";import{a as u}from"./chunk-RHD3WQLV.js";import"./chunk-4ETAQ37B.js";import"./chunk-KYDKUWWA.js";import"./chunk-4P7GORSL.js";import"./chunk-2ZR6QSSI.js";import"./chunk-ZR4ZOFPL.js";import"./chunk-P52G42H4.js";import"./chunk-XIOENNW3.js";import"./chunk-7PLCLLWC.js";import"./chunk-7N2AJIJC.js";import"./chunk-PGY3OEVW.js";import"./chunk-C3JKZBS5.js";import"./chunk-3TSBNXE7.js";import"./chunk-5RMHOCKK.js";import"./chunk-TXZVEXHN.js";import"./chunk-G7RN6XT4.js";import"./chunk-LQ243OAE.js";import"./chunk-EPSEO3NS.js";import"./chunk-O6FXZBDO.js";import"./chunk-TKI7JJEW.js";import"./chunk-VSASJODR.js";function h(c,d){let e=f.upsampleMesh(c),t=e.vertices.buffer,i=e.indices.buffer,s=e.westIndicesSouthToNorth.buffer,o=e.southIndicesEastToWest.buffer,r=e.eastIndicesNorthToSouth.buffer,n=e.northIndicesWestToEast.buffer;return d.push(t,i,s,o,r,n),{verticesBuffer:t,indicesBuffer:i,vertexCountWithoutSkirts:e.vertexCountWithoutSkirts,indexCountWithoutSkirts:e.indexCountWithoutSkirts,encoding:e.encoding,westIndicesBuffer:s,southIndicesBuffer:o,eastIndicesBuffer:r,northIndicesBuffer:n,minimumHeight:e.minimumHeight,maximumHeight:e.maximumHeight,boundingSphere:e.boundingSphere3D,orientedBoundingBox:e.orientedBoundingBox,horizonOcclusionPoint:e.horizonOcclusionPoint}}var I=u(h);export{I as default};