mirror of
https://github.com/Relintai/mesh_utils.git
synced 2024-11-12 10:25:24 +01:00
Disable assert.
This commit is contained in:
parent
e3dba19c94
commit
d507ccf540
@ -2108,7 +2108,12 @@ public:
|
||||
// This should compute convex hull and use rotating calipers to find the best box. Currently it uses a brute force method.
|
||||
// If vertices are empty, the boundary vertices are used.
|
||||
void compute(ConstArrayView<Vector2> vertices = ConstArrayView<Vector2>()) {
|
||||
XA_DEBUG_ASSERT(!m_boundaryVertices.isEmpty());
|
||||
//XA_DEBUG_ASSERT(!m_boundaryVertices.isEmpty());
|
||||
|
||||
if (m_boundaryVertices.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (vertices.length == 0)
|
||||
vertices = m_boundaryVertices;
|
||||
convexHull(m_boundaryVertices, m_hull, 0.00001f);
|
||||
|
Loading…
Reference in New Issue
Block a user