summaryrefslogtreecommitdiff
path: root/scene/resources/rectangle_shape_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/rectangle_shape_2d.h')
-rw-r--r--scene/resources/rectangle_shape_2d.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/scene/resources/rectangle_shape_2d.h b/scene/resources/rectangle_shape_2d.h
index 686b421a2a..6efa7ab9c8 100644
--- a/scene/resources/rectangle_shape_2d.h
+++ b/scene/resources/rectangle_shape_2d.h
@@ -46,8 +46,9 @@ public:
void set_extents(const Vector2 &p_extents);
Vector2 get_extents() const;
- virtual void draw(const RID &p_to_rid, const Color &p_color);
- virtual Rect2 get_rect() const;
+ virtual void draw(const RID &p_to_rid, const Color &p_color) override;
+ virtual Rect2 get_rect() const override;
+ virtual real_t get_enclosing_radius() const override;
RectangleShape2D();
};