define(["exports","./Cartographic-1d953166","./Math-7f5f2992","./FeatureDetection-4281d393","./GeometryAttribute-95780fd1"],(function(t,e,r,a,i){"use strict";var n={},o=new e.t,l=new e.t,y=new i.n,s=new a.p;function c(t,r,n,c,u,x,f,h,m,z){var d=t+r;e.t.multiplyByScalar(c,Math.cos(d),o),e.t.multiplyByScalar(n,Math.sin(d),l),e.t.add(o,l,o);var p=Math.cos(t);p*=p;var _=Math.sin(t);_*=_;var v=x/Math.sqrt(f*p+u*_)/h;return i.n.fromAxisAngle(o,v,y),a.p.fromQuaternion(y,s),a.p.multiplyByVector(s,m,z),e.t.normalize(z,z),e.t.multiplyByScalar(z,h,z),z}var u=new e.t,x=new e.t,f=new e.t,h=new e.t;n.raisePositionsToHeight=function(t,r,a){for(var i=r.ellipsoid,n=r.height,o=r.extrudedHeight,l=a?t.length/3*2:t.length/3,y=new Float64Array(3*l),s=t.length,c=a?s:0,m=0;m1;--T){if(B=c(-(I=r.e.PI_OVER_TWO-(T-1)*g),l,P,w,h,_,p,v,O,B),b=c(I+Math.PI,l,P,w,h,_,p,v,O,b),a){for(W[S++]=B.x,W[S++]=B.y,W[S++]=B.z,E=2*(T-1)+2,A=1;A