mirror of
https://github.com/Relintai/mesh_utils.git
synced 2025-02-04 16:05:55 +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.
|
// 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.
|
// If vertices are empty, the boundary vertices are used.
|
||||||
void compute(ConstArrayView<Vector2> vertices = ConstArrayView<Vector2>()) {
|
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)
|
if (vertices.length == 0)
|
||||||
vertices = m_boundaryVertices;
|
vertices = m_boundaryVertices;
|
||||||
convexHull(m_boundaryVertices, m_hull, 0.00001f);
|
convexHull(m_boundaryVertices, m_hull, 0.00001f);
|
||||||
|
Loading…
Reference in New Issue
Block a user