1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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()