Skip to content

Commit

Permalink
Update TestLevelSetDilatedMesh.cc
Browse files Browse the repository at this point in the history
Fixes incorrect type for faces.

Signed-off-by: ghurstunither <[email protected]>
  • Loading branch information
ghurstunither committed Nov 6, 2024
1 parent 9d98801 commit 6874b96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openvdb/openvdb/unittest/TestLevelSetDilatedMesh.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vec3s> vertices2({q0, q1, q2, q3, q4, q5, q6, q7});
const std::vector<Vec3I> 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<Vec3I> 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<GridT>(vertices2, tris2, r, voxelSize);
Expand Down

0 comments on commit 6874b96

Please sign in to comment.