Skip to content

Documentation / @ripl/3d / BezierPatch

Type Alias: BezierPatch ​

BezierPatch = [Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3, Vector3]

Defined in: 3d/src/elements/bezier-surface.ts:33

The sixteen control points of a bicubic Bézier patch, in row-major order.

The surface passes through the four corners and is pulled towards the twelve interior points, so a patch is edited by moving points rather than by evaluating a formula.