Documentation / @ripl/3d / Face3D
Interface: Face3D
Defined in: 3d/src/core/shape.ts:52
A single face of a 3D mesh, defined by its vertices and an optional precomputed normal.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
normal? | Vector3 | The precomputed surface normal. When omitted, it is derived from the first three vertices. | 3d/src/core/shape.ts:56 |
vertices | Vector3[] | The face's vertices in local (model) space, ordered counter-clockwise when viewed from the front. | 3d/src/core/shape.ts:54 |