qa-regulatory-gwj-vue/static/map/cesium91/CesiumUnminified/Workers/createGeometry.js

2 lines
1.3 KiB
JavaScript
Raw Permalink Normal View History

2023-11-07 10:04:37 +08:00
define(["./defaultValue-81eec7ed","./PrimitivePipeline-d5bc2e2a","./when-422ea0ae","./createTaskProcessorWorker","./BoundingSphere-9a3b5656","./Cartesian3-e0307675","./Check-741c5f3c","./Math-e73894ab","./Cartesian2-bd414876","./GeographicProjection-c931c7fb","./Matrix4-4c545f70","./RuntimeError-26acdd3b","./Rectangle-cf3e0e3e","./ComponentDatatype-aaeec80f","./WebGLConstants-508b9636","./GeometryAttribute-2b42a913","./Matrix2-dc0c61cc","./Transforms-5b829630","./Resource-8ae1a924","./combine-3c023bda","./GeometryAttributes-32b29525","./GeometryPipeline-e7083fea","./AttributeCompression-8f752c03","./EncodedCartesian3-aafcc30f","./IndexDatatype-3f3c99e8","./IntersectionTests-80510c7b","./Plane-bc8b6777","./WebMercatorProjection-44373a3d"],(function(e,t,r,n,a,c,o,i,s,f,u,b,d,l,m,p,y,P,C,h,k,G,g,W,x,A,M,R){"use strict";const T={};function j(t){let r=T[t];return e.defined(r)||("object"==typeof exports?T[r]=r=require(`Workers/${t}`):require([`Workers/${t}`],(function(e){r=e,T[r]=e}))),r}return n((function(n,a){const c=n.subTasks,o=c.length,i=new Array(o);for(let t=0;t<o;t++){const r=c[t],n=r.geometry,a=r.moduleName;if(e.defined(a)){const e=j(a);i[t]=e(n,r.offset)}else i[t]=n}return r.when.all(i,(function(e){return t.PrimitivePipeline.packCreateGeometryResults(e,a)}))}))}));