diff options
Diffstat (limited to 'scene/resources/capsule_shape_2d.h')
-rw-r--r-- | scene/resources/capsule_shape_2d.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/resources/capsule_shape_2d.h b/scene/resources/capsule_shape_2d.h index ef06072e14..05d819c1d5 100644 --- a/scene/resources/capsule_shape_2d.h +++ b/scene/resources/capsule_shape_2d.h @@ -32,25 +32,25 @@ #include "scene/resources/shape_2d.h" class CapsuleShape2D : public Shape2D { - GDCLASS( CapsuleShape2D, Shape2D ); + GDCLASS(CapsuleShape2D, Shape2D); real_t height; real_t radius; void _update_shape(); -protected: +protected: static void _bind_methods(); -public: +public: void set_height(real_t p_height); real_t get_height() const; 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 Rect2 get_rect() const ; + virtual void draw(const RID &p_to_rid, const Color &p_color); + virtual Rect2 get_rect() const; CapsuleShape2D(); }; |