]> git.localhorst.tv Git - blank.git/blobdiff - src/chunk.hpp
added ability to get seperate information about block face obstruction
[blank.git] / src / chunk.hpp
index 4addb56d7a9bf9b87935664dba54fdfe266756f7..06dc98bab34075ba0234103a572f1f17b55609b9 100644 (file)
@@ -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; }