summaryrefslogtreecommitdiff
path: root/scene/resources/concave_polygon_shape_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/concave_polygon_shape_2d.h')
-rw-r--r--scene/resources/concave_polygon_shape_2d.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/resources/concave_polygon_shape_2d.h b/scene/resources/concave_polygon_shape_2d.h
index 89b8914741..309fb4a7b3 100644
--- a/scene/resources/concave_polygon_shape_2d.h
+++ b/scene/resources/concave_polygon_shape_2d.h
@@ -5,7 +5,7 @@
/* GODOT ENGINE */
/* http://www.godotengine.org */
/*************************************************************************/
-/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -32,14 +32,14 @@
#include "scene/resources/shape_2d.h"
class ConcavePolygonShape2D : public Shape2D {
- OBJ_TYPE( ConcavePolygonShape2D, Shape2D );
+ GDCLASS( ConcavePolygonShape2D, Shape2D );
protected:
static void _bind_methods();
public:
- void set_segments(const DVector<Vector2>& p_segments);
- DVector<Vector2> get_segments() const;
+ 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 ;