define(["exports","./Cartographic-67e73ef9","./Math-92c3b5f7","./PrimitiveType-cdfe443e","./GeometryAttribute-ef657318"],(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,f,x,m,h,z){var p=t+r;e.t.multiplyByScalar(c,Math.cos(p),o),e.t.multiplyByScalar(n,Math.sin(p),l),e.t.add(o,l,o);var v=Math.cos(t);v*=v;var _=Math.sin(t);_*=_;var d=f/Math.sqrt(x*v+u*_)/m;return i.n.fromAxisAngle(o,d,y),a.p.fromQuaternion(y,s),a.p.multiplyByVector(s,h,z),e.t.normalize(z,z),e.t.multiplyByScalar(z,m,z),z}var u=new e.t,f=new e.t,x=new e.t,m=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,h=0;h1;--I){if(B=c(-(g=r.e.PI_OVER_TWO-(I-1)*T),l,w,P,m,_,v,d,O,B),b=c(g+Math.PI,l,w,P,m,_,v,d,O,b),a){for(W[S++]=B.x,W[S++]=B.y,W[S++]=B.z,E=2*(I-1)+2,A=1;A