diff options
Diffstat (limited to 'scene/resources/rectangle_shape_2d.h')
-rw-r--r-- | scene/resources/rectangle_shape_2d.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scene/resources/rectangle_shape_2d.h b/scene/resources/rectangle_shape_2d.h index 6682b67de0..8de2f7580e 100644 --- a/scene/resources/rectangle_shape_2d.h +++ b/scene/resources/rectangle_shape_2d.h @@ -32,20 +32,20 @@ #include "scene/resources/shape_2d.h" class RectangleShape2D : public Shape2D { - GDCLASS( RectangleShape2D, Shape2D ); + GDCLASS(RectangleShape2D, Shape2D); Vector2 extents; void _update_shape(); -protected: +protected: static void _bind_methods(); -public: - void set_extents(const Vector2& p_extents); +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); + virtual Rect2 get_rect() const; RectangleShape2D(); }; |