Files
td_official/public/sdk/Cesium/Workers/createEllipseGeometry.js
2025-07-29 11:22:30 +08:00

26 lines
1.6 KiB
JavaScript

/**
* @license
* Cesium - https://github.com/CesiumGS/cesium
* Version 1.98
*
* 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-cf4c6e69","./defaultValue-50f7432c","./EllipseGeometry-698b2523","./ComponentDatatype-9b23164a","./WebGLConstants-58abc51a","./RuntimeError-48e1f06d","./Transforms-c9e418cb","./combine-8462e002","./EllipseGeometryLibrary-65314113","./GeometryAttribute-b84ffce6","./GeometryAttributes-8bab1b25","./GeometryInstance-a6a77e5a","./GeometryOffsetAttribute-490bc2c9","./GeometryPipeline-9c11a3d1","./AttributeCompression-b4dfdf5f","./EncodedCartesian3-0b8c686b","./IndexDatatype-ceed713e","./IntersectionTests-d662a125","./Plane-b9f0711b","./VertexFormat-fa0c27e8"],(function(e,t,r,n,a,i,o,c,s,b,l,f,d,m,p,u,y,G,E,C){"use strict";return function(n,a){return t.defined(a)&&(n=r.EllipseGeometry.unpack(n,a)),n._center=e.Cartesian3.clone(n._center),n._ellipsoid=e.Ellipsoid.clone(n._ellipsoid),r.EllipseGeometry.createGeometry(n)}}));