1import{cy as s,f as p,aB as i}from"./index-CyVzZKgG.js";import{c as a}from"./MeshVertexAttributes-CLUKK6gJ.js";import{e as m}from"./meshProperties-BrNWSC8G.js";import{q as l}from"./vertexSpaceConversion-B6S5w2Y9.js";import"./computeTranslationToOriginAndRotation-AuhyJMTQ.js";import"./meshVertexSpaceUtils-DJHO7A-9.js";import"./MeshLocalVertexSpace-C2fErjdN.js";import"./vec3-CNa3YJME.js";import"./BufferView-CNkZu0u3.js";import"./vec4-DawfieJn.js";async function A(e,t,r){await Promise.resolve(),s(r);const o=l(e,t,{useEllipsoid:r==null?void 0:r.useEllipsoid});if(!o)throw new p("meshUtils:convertVertexSpace()","Failed to convert to provided vertex space due to projection errors");return e.clone(m(void 0,{vertexAttributes:new a({...o,uv:i(e.vertexAttributes.uv),color:i(e.vertexAttributes.color)}),vertexSpace:t,transform:null}))}export{A as convertMeshVertexSpace};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.