summaryrefslogtreecommitdiff
path: root/scene/2d/collision_polygon_2d.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-12-31 20:23:34 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-12-31 20:23:34 -0300
commit7d0894e9259b079b0c27f4c516a80e7a9a659738 (patch)
tree4e6c70445148004a1ae3cf78e378e4b32e574c06 /scene/2d/collision_polygon_2d.h
parent64872ca8112f5b9c726914c51922e2c4e5c8f667 (diff)
-Improved convex decomposer for CollisionPolygon2D, fixes #2336
Diffstat (limited to 'scene/2d/collision_polygon_2d.h')
-rw-r--r--scene/2d/collision_polygon_2d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/collision_polygon_2d.h b/scene/2d/collision_polygon_2d.h
index 4bc9713c8a..5752d37756 100644
--- a/scene/2d/collision_polygon_2d.h
+++ b/scene/2d/collision_polygon_2d.h
@@ -63,6 +63,7 @@ protected:
void _set_shape_range(const Vector2& p_range);
Vector2 _get_shape_range() const;
+ Vector< Vector<Vector2> > _decompose_in_convex();
protected: