qd-changjing/public/static/Build/Cesium/Workers/createGeometry.js

2 lines
1.0 KiB
JavaScript
Raw Normal View History

2022-07-05 16:56:29 +08:00
define(["./when-4bbc8319","./PrimitivePipeline-5459168b","./createTaskProcessorWorker","./Transforms-f15de320","./Matrix2-c6c16658","./RuntimeError-5b082e8f","./ComponentDatatype-3d0a0aac","./WebGLConstants-508b9636","./combine-e9466e32","./GeometryAttribute-8350368e","./GeometryAttributes-7827a6c2","./GeometryPipeline-0fb7cb2c","./AttributeCompression-f7a901f9","./EncodedCartesian3-b1495e46","./IndexDatatype-ddbc25a7","./IntersectionTests-a4e54d9a","./Plane-26e67b94","./WebMercatorProjection-baa60d8a"],(function(e,t,r,n,o,i,a,s,c,b,f,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,a=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);a[t]=e(n,r.offset)}else a[t]=n}return e.when.all(a,(function(e){return t.PrimitivePipeline.packCreateGeometryResults(e,n)}))}))}));