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