truncate model name

This commit is contained in:
Filip Sykala 2021-07-21 08:34:43 +02:00
parent 87a6c8cb73
commit 6bcc576b5f
2 changed files with 7 additions and 3 deletions

View file

@ -233,8 +233,7 @@ TEST_CASE("Reduce one edge by Quadric Edge Collapse", "[its]")
#include "test_utils.hpp"
TEST_CASE("Simplify mesh by Quadric edge collapse to 5%", "[its]")
{
TriangleMesh mesh = load_model("frog_legs.obj");
//TriangleMesh mesh; load_obj("C:/Users/filip/Documents/models/scarecrow_torso.obj", &mesh);
TriangleMesh mesh = load_model("frog_legs.obj");
double original_volume = its_volume(mesh.its);
uint32_t wanted_count = mesh.its.indices.size() * 0.05;
REQUIRE_FALSE(mesh.empty());