#ifndef WORLD_UPDATE_MSG_H #define WORLD_UPDATE_MSG_H #include #include #include "block.hpp" enum class WorldUpdateMsgType{ BLOCKPICK_PLACE, BLOCKPICK_BREAK }; typedef struct WorldUpdateMsg{ WorldUpdateMsgType msg_type; glm::vec3 cameraPos; glm::vec3 cameraFront; float time; Block block; } WorldUpdateMsg; typedef oneapi::tbb::concurrent_queue WorldUpdateMsgQueue; #endif