add BodyType, fix crouching

This commit is contained in:
MihailRis
2024-07-09 06:39:05 +03:00
parent 7e80642ec3
commit 0a14d6220a
13 changed files with 131 additions and 34 deletions
+4
View File
@@ -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;