Triangulation of polygons respects its area
- remove its_filtration Move Flatness out of Font
This commit is contained in:
parent
48f1be6ccc
commit
028f04f8a1
5 changed files with 148 additions and 215 deletions
|
@ -288,3 +288,15 @@ TEST_CASE("Simplify trouble case", "[its]")
|
|||
its_quadric_edge_collapse(tm.its, wanted_count, &max_error);
|
||||
CHECK(tm.its.indices.size() <= 8);
|
||||
}
|
||||
|
||||
TEST_CASE("Neighbors in cube", "[its]")
|
||||
{
|
||||
auto its = its_make_cube(1, 2, 3);
|
||||
auto neighbors = its_face_neighbors(its);
|
||||
int no_value = -1;
|
||||
for (auto &neighbor : neighbors) {
|
||||
for (size_t i = 0; i < 3; i++) {
|
||||
CHECK(neighbor[i] != no_value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue