tried making naming more uniform and implemented most of the opengl managers
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user