Io - MeshTriangles
API reference — the MeshTriangles doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.
import { meshFacesToTriangles } from '@huukhanhnguyen/io'Source: ./meshTriangles. See all formats or the Guide.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
meshFacesToTriangles
function
meshFacesToTriangles(positions: number[], faces: number[][]): number[]