drawBezier(opt: DrawBezierOpt): void

Draw a cubic Bezier curve.
drawBezier({
    pt1: vec2(100, 100),
    pt2: vec2(200, 100),
    pt3: vec2(200, 200),
    pt4: vec2(100, 200),
    width: 2,
    color: GREEN
})
kaplay logo

3001.0.0-alpha.18

Misc