创建新仓库
This commit is contained in:
		
							
								
								
									
										25
									
								
								static/sdk/Cesium/Workers/createGeometry.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								static/sdk/Cesium/Workers/createGeometry.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,25 @@ | ||||
| /** | ||||
|  * @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(["./defaultValue-50f7432c","./PrimitivePipeline-8a119b17","./createTaskProcessorWorker","./Transforms-c9e418cb","./Matrix2-cf4c6e69","./ComponentDatatype-9b23164a","./WebGLConstants-58abc51a","./RuntimeError-48e1f06d","./combine-8462e002","./GeometryAttribute-b84ffce6","./GeometryAttributes-8bab1b25","./GeometryPipeline-9c11a3d1","./AttributeCompression-b4dfdf5f","./EncodedCartesian3-0b8c686b","./IndexDatatype-ceed713e","./IntersectionTests-d662a125","./Plane-b9f0711b","./WebMercatorProjection-019b6547"],(function(e,t,r,n,o,i,s,c,a,f,b,u,d,m,l,p,y,P){"use strict";const k={};function C(t){let r=k[t];return e.defined(r)||("object"==typeof exports?k[r]=r=require(`Workers/${t}`):require([`Workers/${t}`],(function(e){r=e,k[r]=e}))),r}return r((function(r,n){const o=r.subTasks,i=o.length,s=new Array(i);for(let t=0;t<i;t++){const r=o[t],n=r.geometry,i=r.moduleName;if(e.defined(i)){const e=C(i);s[t]=e(n,r.offset)}else s[t]=n}return Promise.all(s).then((function(e){return t.PrimitivePipeline.packCreateGeometryResults(e,n)}))}))})); | ||||
		Reference in New Issue
	
	Block a user