JungleOpenSourceProjectRepo/inc/world.h

22 lines
431 B
C++

#ifndef WORLD_H
#define WORLD_H
#include "ui/camera.h"
#include "world/trunk.h"
#include "world/block.h"
#include <vector>
#include <mutex>
enum WorldRequire
{
NoneReq,
BlockReq,
ExitReq,
};
void world_simulator(std::vector<WorldRequire> &require_pipe, std::mutex &require_pipe_lock,
std::vector<std::vector<std::tuple<glm::ivec3, Block &>>> &blocks_pipe, std::mutex &blocks_pipe_lock, Camera &camera);
#endif