splitCubic
import { splitCubic } from 'pixi-silk/path';
function splitCubic(c: Cubic, t: number): [Cubic, Cubic];
Splits a cubic at t with de Casteljau’s construction. The two halves trace the same curve exactly.
Parameters#
| Parameter | Type |
|---|---|
c | Cubic |
t | number |