In the middle of multithreading parsers.

This commit is contained in:
zy4n
2025-03-30 22:38:06 +02:00
parent d18b40a7fc
commit 144126ee7a
80 changed files with 2904 additions and 1450 deletions

View File

@@ -2,7 +2,14 @@
#include <tuple>
#include <array>
#include "glm/gtc/type_aligned.hpp"
#include <vector>
#include <optional>
#include <span>
#include <string_view>
#include <expected>
#include <system_error>
#include "glm/glm.hpp"
#include "util/id_type.hpp"
namespace z3d
@@ -53,10 +60,15 @@ using structure = std::tuple<Ts...>;
using string_view = std::string_view;
template<typename T>
using result = std::expected<T, std::error_code>;
using vertex_index = u32;
using index_triangle = array<vertex_index, 3>;
template<int ID>
using identifier = ztu::id_type<u32, ID>;
}