X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fblock.hpp;h=a757740b77000e6768c2519b6a696c4eef833a74;hb=eca1fdcc8e34a4918418b2de122c6200aeb7ceaf;hp=1fa9c8416a4d694fcaa715f08463df7c3aeb3db6;hpb=804bde3fc09e4317eef629861638a68bfad3e343;p=blank.git diff --git a/src/block.hpp b/src/block.hpp index 1fa9c84..a757740 100644 --- a/src/block.hpp +++ b/src/block.hpp @@ -81,6 +81,8 @@ private: /// single 1x1x1 cube struct Block { + using Pos = glm::vec3; + const BlockType *type; constexpr explicit Block(const BlockType *t = &BlockType::DEFAULT)