X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fchunk.hpp;fp=src%2Fchunk.hpp;h=06dc98bab34075ba0234103a572f1f17b55609b9;hb=35c09fc00094a3d390732fd533b2bd03413d90c7;hp=4addb56d7a9bf9b87935664dba54fdfe266756f7;hpb=4ef32c5a4a5bdb6da8383f66d8265715eb2ed4f9;p=blank.git diff --git a/src/chunk.hpp b/src/chunk.hpp index 4addb56..06dc98b 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -88,8 +88,8 @@ public: void Unlink(); void Relink(); - // check if block at given index is completely enclosed (and therefore invisible) - bool Obstructed(int idx) const; + // check which faces of a block at given index are obstructed (and therefore invisible) + Block::FaceSet Obstructed(int idx) const; void Invalidate() { dirty = true; }