Bugfix: corner might have degree > 3

This commit is contained in:
Simon Giraudot 2016-03-22 14:36:45 +01:00
parent acf69d320c
commit 3aa0be9de4
1 changed files with 2 additions and 2 deletions

View File

@ -345,8 +345,8 @@ namespace internal {
}
else if (m_status[i] == CORNER)
{
pls.push_back (m_planes[m_corners[m_indices[i]].planes[0]]);
pls.push_back (m_planes[m_corners[m_indices[i]].planes[1]]);
for (std::size_t j = 0; j < m_corners[m_indices[i]].planes.size(); ++ j)
pls.push_back (m_planes[m_corners[m_indices[i]].planes[j]]);
}
*(adj ++) = pls;
}