diff options
Diffstat (limited to 'scene/resources/circle_shape_2d.h')
-rw-r--r-- | scene/resources/circle_shape_2d.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scene/resources/circle_shape_2d.h b/scene/resources/circle_shape_2d.h index ec11b55169..11fdc51f09 100644 --- a/scene/resources/circle_shape_2d.h +++ b/scene/resources/circle_shape_2d.h @@ -32,22 +32,21 @@ #include "scene/resources/shape_2d.h" class CircleShape2D : public Shape2D { - GDCLASS( CircleShape2D, Shape2D ); + GDCLASS(CircleShape2D, Shape2D); real_t radius; void _update_shape(); -protected: +protected: static void _bind_methods(); -public: +public: void set_radius(real_t p_radius); real_t get_radius() const; - virtual void draw(const RID& p_to_rid,const Color& p_color); + virtual void draw(const RID &p_to_rid, const Color &p_color); virtual Rect2 get_rect() const; - CircleShape2D(); }; |