diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-12-31 20:23:34 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-12-31 20:23:34 -0300 |
commit | 7d0894e9259b079b0c27f4c516a80e7a9a659738 (patch) | |
tree | 4e6c70445148004a1ae3cf78e378e4b32e574c06 /scene/2d/collision_polygon_2d.h | |
parent | 64872ca8112f5b9c726914c51922e2c4e5c8f667 (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.h | 1 |
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: |