Documentation / @ripl/3d / tessellateParametric
Function: tessellateParametric() ​
tessellateParametric(
surface,uSegments,vSegments):Face3D[]
Defined in: 3d/src/elements/parametric.ts:211
Tessellates a parametric surface into a grid of quads with normals and UVs.
Parameters ​
| Parameter | Type | Description |
|---|---|---|
surface | ParametricSurface | The surface to tessellate. |
uSegments | number | Subdivisions along the first parameter. |
vSegments | number | Subdivisions along the second parameter. |
Returns ​
Face3D[]
One quad per grid cell.