import { array_copy } from "../../../../core/collection/array/array_copy.js";

/**
 *
 * @param {SMikkTSpaceContext} pContext
 * @param {number[]|{0:number,1:number}} fvTexcOut
 * @param {number} iFace
 * @param {number} iVert
 * @returns {void}
 */
export function m_getTexCoord(pContext, fvTexcOut, iFace, iVert) {
    // figure out which vertex it is
    const vertex_index = pContext.geometry_buffer_index[iFace * 3 + iVert];

    array_copy(pContext.geometry_buffer_vertex_uv, vertex_index * 2, fvTexcOut, 0, 3);
}
