define(["./arrayRemoveDuplicates-398390b2","./BoundingRectangle-f7002576","./Transforms-f3654378","./Matrix2-23dd5853","./Matrix3-6e56fbc7","./ComponentDatatype-985dcc38","./CoplanarPolygonGeometryLibrary-e70c981f","./defaultValue-865ac579","./GeometryAttribute-e3f63a02","./GeometryAttributes-75794475","./GeometryInstance-54a3e3b6","./GeometryPipeline-3f4d7db4","./IndexDatatype-16f6b4a1","./Math-76ce6367","./PolygonGeometryLibrary-e0e45e51","./PolygonPipeline-47fb81c6","./VertexFormat-20b5279f","./combine-5e110d09","./RuntimeError-9e0724f9","./WebGLConstants-258cf3a0","./OrientedBoundingBox-ef95f619","./EllipsoidTangentPlane-2129690e","./AxisAlignedBoundingBox-d1a0c6e6","./IntersectionTests-63574cfd","./Plane-4befcca0","./AttributeCompression-b9d605fe","./EncodedCartesian3-2008251f","./ArcType-68098157","./EllipsoidRhumbLine-b175af48"],(function(e,t,n,o,r,a,i,s,l,c,y,p,u,d,m,g,f,b,C,h,x,P,A,L,w,G,F,v,E){"use strict";const _=new r.Cartesian3,T=new t.BoundingRectangle,k=new o.Cartesian2,D=new o.Cartesian2,V=new r.Cartesian3,R=new r.Cartesian3,H=new r.Cartesian3,I=new r.Cartesian3,M=new r.Cartesian3,B=new r.Cartesian3,O=new n.Quaternion,z=new r.Matrix3,S=new r.Matrix3,N=new r.Cartesian3;function Q(e,t,i,y,p,m,f,b,C){const h=e.positions;let x=g.PolygonPipeline.triangulate(e.positions2D,e.holes);x.length<3&&(x=[0,1,2]);const P=u.IndexDatatype.createTypedArray(h.length,x.length);P.set(x);let A=z;if(0!==y){let e=n.Quaternion.fromAxisAngle(f,y,O);if(A=r.Matrix3.fromQuaternion(e,A),t.tangent||t.bitangent){e=n.Quaternion.fromAxisAngle(f,-y,O);const o=r.Matrix3.fromQuaternion(e,S);b=r.Cartesian3.normalize(r.Matrix3.multiplyByVector(o,b,b),b),t.bitangent&&(C=r.Cartesian3.normalize(r.Cartesian3.cross(f,b,C),C))}}else A=r.Matrix3.clone(r.Matrix3.IDENTITY,A);const L=D;t.st&&(L.x=i.x,L.y=i.y);const w=h.length,G=3*w,F=new Float64Array(G),v=t.normal?new Float32Array(G):void 0,E=t.tangent?new Float32Array(G):void 0,T=t.bitangent?new Float32Array(G):void 0,V=t.st?new Float32Array(2*w):void 0;let R=0,H=0,I=0,M=0,B=0;for(let e=0;e