define(["exports","./Cartographic-3309dd0d","./PolylineVolumeGeometryLibrary-3333255c","./when-b60132fc","./Math-119be1a3","./BoundingSphere-561b54d0","./PolylinePipeline-971d8853","./Transforms-cb0006b0"],(function(a,e,r,n,t,i,s,o){"use strict";var C={},l=new e.Cartesian3,y=new e.Cartesian3,u=new e.Cartesian3,c=new e.Cartesian3,d=[new e.Cartesian3,new e.Cartesian3],p=new e.Cartesian3,m=new e.Cartesian3,g=new e.Cartesian3,h=new e.Cartesian3,f=new e.Cartesian3,w=new e.Cartesian3,z=new e.Cartesian3,x=new e.Cartesian3,v=new e.Cartesian3,B=new e.Cartesian3,P=new o.Quaternion,b=new i.Matrix3;function A(a,n,s,C,u){var c,d=e.Cartesian3.angleBetween(e.Cartesian3.subtract(n,a,l),e.Cartesian3.subtract(s,a,y)),p=C===r.CornerType.BEVELED?1:Math.ceil(d/t.CesiumMath.toRadians(5))+1,m=3*p,g=new Array(m);g[m-3]=s.x,g[m-2]=s.y,g[m-1]=s.z,c=u?i.Matrix3.fromQuaternion(o.Quaternion.fromAxisAngle(e.Cartesian3.negate(a,l),d/p,P),b):i.Matrix3.fromQuaternion(o.Quaternion.fromAxisAngle(a,d/p,P),b);var h=0;n=e.Cartesian3.clone(n,l);for(var f=0;f