In the middle of multithreading parsers.
This commit is contained in:
@@ -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>;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user