From 6874b96bc58bed929481ee1f6756e171c4e18cd7 Mon Sep 17 00:00:00 2001 From: ghurstunither <62885595+ghurstunither@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:18:43 -0500 Subject: [PATCH] Update TestLevelSetDilatedMesh.cc Fixes incorrect type for faces. Signed-off-by: ghurstunither <62885595+ghurstunither@users.noreply.github.com> --- openvdb/openvdb/unittest/TestLevelSetDilatedMesh.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openvdb/openvdb/unittest/TestLevelSetDilatedMesh.cc b/openvdb/openvdb/unittest/TestLevelSetDilatedMesh.cc index 98491b7b05..d2ca1f60a5 100644 --- a/openvdb/openvdb/unittest/TestLevelSetDilatedMesh.cc +++ b/openvdb/openvdb/unittest/TestLevelSetDilatedMesh.cc @@ -424,8 +424,8 @@ TEST_F(TestLevelSetDilatedMesh, testLevelSetDilatedMesh) q6(0.5f, 0.0f, 0.0f), q7(0.0f, 0.5f, 0.0f); const std::vector vertices2({q0, q1, q2, q3, q4, q5, q6, q7}); - const std::vector tris2({Vec3s(7, 0, 6), Vec3s(2, 6, 1), Vec3s(6, 2, 7), - Vec3s(7, 3, 6), Vec3s(7, 4, 5), Vec3s(4, 7, 6)}); + const std::vector tris2({Vec3I(7, 0, 6), Vec3I(2, 6, 1), Vec3I(6, 2, 7), + Vec3I(7, 3, 6), Vec3I(7, 4, 5), Vec3I(4, 7, 6)}); // level set from split triangles that resolve the intersections GridPtr ls_split = tools::createLevelSetDilatedMesh(vertices2, tris2, r, voxelSize);