summaryrefslogtreecommitdiff
path: root/scene/resources/segment_shape_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/segment_shape_2d.h')
-rw-r--r--scene/resources/segment_shape_2d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/segment_shape_2d.h b/scene/resources/segment_shape_2d.h
index aaf838ebfb..ca10c24f07 100644
--- a/scene/resources/segment_shape_2d.h
+++ b/scene/resources/segment_shape_2d.h
@@ -55,6 +55,7 @@ public:
virtual void draw(const RID &p_to_rid, const Color &p_color);
virtual Rect2 get_rect() const;
+ virtual real_t get_enclosing_radius() const;
SegmentShape2D();
};
@@ -79,6 +80,7 @@ public:
virtual void draw(const RID &p_to_rid, const Color &p_color);
virtual Rect2 get_rect() const;
+ virtual real_t get_enclosing_radius() const;
RayShape2D();
};