integrated_traffic_vue/public/lib/Cesium/Workers/createGeometry.js

2 lines
1.1 KiB
JavaScript

define(["./defaultValue-0a909f67","./PrimitivePipeline-c5b55996","./createTaskProcessorWorker","./Transforms-713aa3a8","./Matrix3-b6f074fa","./Math-e97915da","./Matrix2-163b5a1d","./RuntimeError-06c93819","./combine-ca22a614","./ComponentDatatype-77274976","./WebGLConstants-a8cc3e8c","./GeometryAttribute-0b8b7b82","./GeometryAttributes-f06a2792","./GeometryPipeline-b6eb7525","./AttributeCompression-e18a879a","./EncodedCartesian3-de837603","./IndexDatatype-2149f06c","./IntersectionTests-87baf287","./Plane-1c5a21a3","./WebMercatorProjection-8e29b101"],(function(e,t,r,n,a,o,i,s,c,f,u,b,m,l,d,p,y,P,k,C){"use strict";const G={};function W(t){let r=G[t];return e.defined(r)||("object"==typeof exports?G[r]=r=require(`Workers/${t}`):require([`Workers/${t}`],(function(e){r=e,G[r]=e}))),r}return r((function(r,n){const a=r.subTasks,o=a.length,i=new Array(o);for(let t=0;t<o;t++){const r=a[t],n=r.geometry,o=r.moduleName;if(e.defined(o)){const e=W(o);i[t]=e(n,r.offset)}else i[t]=n}return Promise.all(i).then((function(e){return t.PrimitivePipeline.packCreateGeometryResults(e,n)}))}))}));