diff -r daa8770b9d26 -r d862721d19a3 src/basics.h --- a/src/basics.h Wed Jun 29 16:21:44 2022 +0300 +++ b/src/basics.h Wed Jun 29 16:33:49 2022 +0300 @@ -19,6 +19,7 @@ #pragma once #include #include +#include #include #include #include @@ -52,6 +53,12 @@ Q_DECLARE_METATYPE(glm::vec3) Q_DECLARE_METATYPE(glm::mat4) +struct ModelId +{ + std::int32_t value; + constexpr auto operator<=>(const ModelId&) const = default; +}; + //! \brief count the amount of elements in a basic array template constexpr int countof(T(&)[N])