import { compute_triangle_normal } from "../triangle/compute_triangle_normal.js";

/**
 *
 * @param {number[]} result
 * @param {TopoTriangle} face
 */
export function tm_face_normal(result, face) {
    const v0 = face.vertices[0];
    const v1 = face.vertices[1];
    const v2 = face.vertices[2];

    compute_triangle_normal(result, v0, v1, v2);
}
