1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

some generation-time mud flow tweaking

This commit is contained in:
Perttu Ahola 2011-02-03 13:48:17 +02:00
parent 9b1b57a523
commit 71dbee43d0
5 changed files with 123 additions and 73 deletions

View file

@ -152,6 +152,10 @@ public:
p.Z >= MinEdge.Z && p.Z <= MaxEdge.Z
);
}
bool contains(s32 i) const
{
return (i >= 0 && i < getVolume());
}
bool operator==(const VoxelArea &other) const
{
return (MinEdge == other.MinEdge