curve

fun curve(p0: Vec2, p1: Vec2): Line2(source)
fun curve(p0: Vec2, p1: Vec2, p2: Vec2, p3: Vec2): Curve2(source)