]> git.localhorst.tv Git - blank.git/blobdiff - src/world/ChunkStore.hpp
added block orientation test
[blank.git] / src / world / ChunkStore.hpp
index 12debef87b8f4997460959c40d5b71f668f91d22..79a9db1d1373ccb859705a06acf3deb4d115d201 100644 (file)
@@ -26,7 +26,8 @@ public:
        ChunkIndex *ClosestIndex(const ExactLocation::Coarse &pos);
 
        /// returns nullptr if given position is not loaded
-       Chunk *Get(const ExactLocation::Coarse &);
+       Chunk *Get(const ExactLocation::Coarse &) noexcept;
+       const Chunk *Get(const ExactLocation::Coarse &) const noexcept;
        /// returns nullptr if given position is not indexed
        Chunk *Allocate(const ExactLocation::Coarse &);