tried making naming more uniform and implemented most of the opengl managers

This commit is contained in:
ZY4N
2025-03-25 02:22:44 +01:00
parent c609d49f0d
commit 71ea2d9237
155 changed files with 4097 additions and 2434 deletions

View File

@@ -4,7 +4,8 @@
#include <tuple>
#include "util/enum_bitfield_operators.hpp"
namespace components::mesh_vertex {
namespace assets::mesh_vertex_components
{
using position = std::array<float, 3>;
using normal = std::array<float, 3>;
@@ -35,6 +36,6 @@ enum class flags : std::uint8_t
using all = std::tuple<position, normal, tex_coord, color, reflectance>;
constexpr inline auto count = std::tuple_size_v<all>;
} // namespace components::mesh_vertex
} // namespace mesh_vertex_components
DEFINE_ENUM_BITFIELD_OPERATORS(components::mesh_vertex::flags)
DEFINE_ENUM_BITFIELD_OPERATORS(assets::mesh_vertex_components::flags)