Skip to content

Commit

Permalink
fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Desour committed Jan 8, 2025
1 parent e9f9d05 commit e7569c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/voxel.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class VoxelArea
{
MinEdge -= d;
MaxEdge += d;
cacheExtent();
}

/*
Expand Down Expand Up @@ -188,6 +189,7 @@ class VoxelArea
ret.MaxEdge.Y = std::min(a.MaxEdge.Y, MaxEdge.Y);
ret.MinEdge.Z = std::max(a.MinEdge.Z, MinEdge.Z);
ret.MaxEdge.Z = std::min(a.MaxEdge.Z, MaxEdge.Z);
ret.cacheExtent();

return ret;
}
Expand Down

0 comments on commit e7569c8

Please sign in to comment.