Voxel-based game in C++ and OpenGL