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::point_cloud_vertex {
|
||||
namespace assets::point_cloud_vertex_components
|
||||
{
|
||||
|
||||
using position = std::array<float, 3>;
|
||||
using normal = std::array<float, 3>;
|
||||
@@ -32,6 +33,6 @@ enum class flags : std::uint8_t
|
||||
using all = std::tuple<position, normal, color, reflectance>;
|
||||
constexpr inline auto count = std::tuple_size_v<all>;
|
||||
|
||||
} // namespace components::point_cloud_vertex
|
||||
} // namespace point_cloud_vertex_components
|
||||
|
||||
DEFINE_ENUM_BITFIELD_OPERATORS(components::point_cloud_vertex::flags)
|
||||
DEFINE_ENUM_BITFIELD_OPERATORS(assets::point_cloud_vertex_components::flags)
|
||||
|
||||
Reference in New Issue
Block a user