diff options
Diffstat (limited to 'scene/resources/concave_polygon_shape_2d.h')
-rw-r--r-- | scene/resources/concave_polygon_shape_2d.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scene/resources/concave_polygon_shape_2d.h b/scene/resources/concave_polygon_shape_2d.h index 309fb4a7b3..23c602980c 100644 --- a/scene/resources/concave_polygon_shape_2d.h +++ b/scene/resources/concave_polygon_shape_2d.h @@ -32,17 +32,17 @@ #include "scene/resources/shape_2d.h" class ConcavePolygonShape2D : public Shape2D { - GDCLASS( ConcavePolygonShape2D, Shape2D ); -protected: + GDCLASS(ConcavePolygonShape2D, Shape2D); +protected: static void _bind_methods(); -public: - void set_segments(const PoolVector<Vector2>& p_segments); +public: + void set_segments(const PoolVector<Vector2> &p_segments); PoolVector<Vector2> get_segments() 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; ConcavePolygonShape2D(); }; |