mesh.face
Point indices of one face, in winding order.
Usage
mesh.face(f: number): number[]Parameters
fnumberFace index.
Returns
The indices; [] when f is not a face of this mesh.
Example
const m = Mesh.box().value
m.face(1) // → [4, 5, 6, 7]Point indices of one face, in winding order.
mesh.face(f: number): number[]fnumberFace index.
The indices; [] when f is not a face of this mesh.
const m = Mesh.box().value
m.face(1) // → [4, 5, 6, 7]