diff options
author | Chaosus <chaosus89@gmail.com> | 2019-03-19 19:59:24 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2019-03-19 20:32:10 +0300 |
commit | 61b22beeae31590fc726cb593252c6fa5edc13d5 (patch) | |
tree | 9f2e4e33ee6f9fe21e7654b10a728bbcc9fa0b6c /scene/2d/line_2d.h | |
parent | df7d3708c5b535c3696943322a14ec19a175e30c (diff) |
Added method to clear all points in Line2D
Diffstat (limited to 'scene/2d/line_2d.h')
-rw-r--r-- | scene/2d/line_2d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/line_2d.h b/scene/2d/line_2d.h index 5bbd38e460..32befab2d3 100644 --- a/scene/2d/line_2d.h +++ b/scene/2d/line_2d.h @@ -70,6 +70,8 @@ public: int get_point_count() const; + void clear_points(); + void add_point(Vector2 pos); void remove_point(int i); |