add BodyType, fix crouching
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <optional>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "../maths/aabb.hpp"
|
||||
@@ -80,6 +81,9 @@ enum class BlockModel {
|
||||
custom
|
||||
};
|
||||
|
||||
std::string to_string(BlockModel model);
|
||||
std::optional<BlockModel> BlockModel_from(std::string_view str);
|
||||
|
||||
using BoxModel = AABB;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user