diff options
Diffstat (limited to 'scene/2d/line_2d.h')
-rw-r--r-- | scene/2d/line_2d.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/2d/line_2d.h b/scene/2d/line_2d.h index 5bbd38e460..8a6f7b2dc5 100644 --- a/scene/2d/line_2d.h +++ b/scene/2d/line_2d.h @@ -70,7 +70,9 @@ public: int get_point_count() const; - void add_point(Vector2 pos); + void clear_points(); + + void add_point(Vector2 pos, int atpos = -1); void remove_point(int i); void set_width(float width); |