Skip to content
Shapemetry

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[]
Last updated: 📖 1 min readEdit on GitHub