qa-prevention-gwj-vue/static/map/cesium91/CesiumUnminified/Workers/CylinderGeometryLibrary-6ad...

2 lines
483 B
JavaScript
Raw Normal View History

2023-12-17 15:30:40 +08:00
define(["exports","./Math-e73894ab"],(function(t,n){"use strict";const o={computePositions:function(t,o,e,s,r){const i=.5*t,c=-i,a=s+s,u=new Float64Array(3*(r?2*a:a));let f,h=0,y=0;const M=r?3*a:0,l=r?3*(a+s):3*s;for(f=0;f<s;f++){const t=f/s*n.CesiumMath.TWO_PI,a=Math.cos(t),m=Math.sin(t),b=a*e,d=m*e,p=a*o,C=m*o;u[y+M]=b,u[y+M+1]=d,u[y+M+2]=c,u[y+l]=p,u[y+l+1]=C,u[y+l+2]=i,y+=3,r&&(u[h++]=b,u[h++]=d,u[h++]=c,u[h++]=p,u[h++]=C,u[h++]=i)}return u}};t.CylinderGeometryLibrary=o}));