1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Fix meaning of VoxelArea::hasEmptyExtent()

This commit is contained in:
sfan5
2024-12-06 21:03:52 +01:00
parent 8957739cdf
commit 67126cbd1b
3 changed files with 6 additions and 8 deletions

View File

@@ -118,7 +118,7 @@ void TestVoxelArea::test_extent()
UASSERT(VoxelArea().hasEmptyExtent());
UASSERT(VoxelArea({2,3,4}, {1,2,3}).hasEmptyExtent());
UASSERT(VoxelArea({2,3,4}, {2,2,3}).hasEmptyExtent() == false);
UASSERT(VoxelArea({2,3,4}, {2,2,3}).hasEmptyExtent());
}
void TestVoxelArea::test_volume()