We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b3f1b8 commit 934a8acCopy full SHA for 934a8ac
openvdb/openvdb/unittest/TestPointMask.cc
@@ -50,6 +50,11 @@ TEST_F(TestPointMask, testMask)
50
51
EXPECT_EQ(points->tree().activeVoxelCount(), Index64(4));
52
EXPECT_EQ(mask->tree().activeVoxelCount(), Index64(4));
53
+
54
+ // also test tree function signature
55
+ auto maskTree = convertPointsToMask(points->tree());
56
+ EXPECT_EQ(maskTree->activeVoxelCount(), Index64(4));
57
+ EXPECT_TRUE(maskTree->hasSameTopology(mask->tree()));
58
}
59
60
{ // mask grid instead of bool grid
0 commit comments