diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-14 00:16:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-14 00:16:37 +0100 |
commit | d23b8719f4b49b94d4f57c641963d3135b6ff9c3 (patch) | |
tree | 8cda63d160f847650929cf7e45c924b3b6c4038d /core/math/geometry.h | |
parent | f18cb896813eea88a93829ca585b9cb6fe76950f (diff) | |
parent | f111d1aaede1b2036e63d5a44ecd0ecf057521c3 (diff) |
Merge pull request #34340 from akien-mga/drop-box2d-convexdecomp
Drop b2d_convexdecomp, no longer necessary.
Diffstat (limited to 'core/math/geometry.h')
-rw-r--r-- | core/math/geometry.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/math/geometry.h b/core/math/geometry.h index 8b0a51c651..db4b82e8ce 100644 --- a/core/math/geometry.h +++ b/core/math/geometry.h @@ -853,15 +853,6 @@ public: return triangles; } - static Vector<Vector<Vector2> > (*_decompose_func)(const Vector<Vector2> &p_polygon); - static Vector<Vector<Vector2> > decompose_polygon(const Vector<Vector2> &p_polygon) { - - if (_decompose_func) - return _decompose_func(p_polygon); - - return Vector<Vector<Vector2> >(); - } - static bool is_polygon_clockwise(const Vector<Vector2> &p_polygon) { int c = p_polygon.size(); if (c < 3) |