summaryrefslogtreecommitdiff
path: root/scene/2d/line_2d.h
diff options
context:
space:
mode:
authorChaosus <chaosus89@gmail.com>2019-03-19 19:59:24 +0300
committerChaosus <chaosus89@gmail.com>2019-03-19 20:32:10 +0300
commit61b22beeae31590fc726cb593252c6fa5edc13d5 (patch)
tree9f2e4e33ee6f9fe21e7654b10a728bbcc9fa0b6c /scene/2d/line_2d.h
parentdf7d3708c5b535c3696943322a14ec19a175e30c (diff)
Added method to clear all points in Line2D
Diffstat (limited to 'scene/2d/line_2d.h')
-rw-r--r--scene/2d/line_2d.h2
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);