Disable assert.

This commit is contained in:
Relintai 2021-09-29 08:31:51 +02:00
parent e3dba19c94
commit d507ccf540

View File

@ -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);