@motion-script/core / evaluateParametric
Function: evaluateParametric()
evaluateParametric(
geometry):BufferGeometry3D
Defined in: render3d/geometry.ts:307
Evaluate a ParametricGeometry3D into concrete vertex buffers.
Lives in core rather than the renderer so the grid/winding maths is backend-agnostic and unit-testable without a GPU. Called by the renderer at draw time (not at record time) so the cost is only paid when the frame is actually rasterized, and never during the asset-tracking replay.
The grid is (segments + 1)² vertices wound counter-clockwise, so front faces
point along +Y for a surface authored in the XZ plane.