triangulate(pts: Vec2[]): Vec2[][]