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

@@ -32,11 +32,11 @@ void controller_task(
std::ignore = default_material.initialized_surface_properties(); // TODO ...
constexpr auto enabled_mesh_components = (
components::mesh_vertex::flags::position |
components::mesh_vertex::flags::tex_coord |
components::mesh_vertex::flags::normal |
components::mesh_vertex::flags::color |
components::mesh_vertex::flags::reflectance
mesh_vertex_components::flags::position |
mesh_vertex_components::flags::tex_coord |
mesh_vertex_components::flags::normal |
mesh_vertex_components::flags::color |
mesh_vertex_components::flags::reflectance
);
constexpr auto enabled_material_components = (
@@ -47,10 +47,10 @@ void controller_task(
// TODO Add point cloud component selection to loaders or remove it all together
constexpr auto enabled_point_cloud_components = (
components::point_cloud_vertex::flags::position |
components::point_cloud_vertex::flags::normal |
components::point_cloud_vertex::flags::color |
components::point_cloud_vertex::flags::reflectance
point_cloud_vertex_components::flags::position |
point_cloud_vertex_components::flags::normal |
point_cloud_vertex_components::flags::color |
point_cloud_vertex_components::flags::reflectance
);
if (const auto e = loader.init(
enabled_mesh_components,
@@ -199,11 +199,11 @@ void controller_task(
std::ignore = default_material.initialized_surface_properties(); // TODO ...
constexpr auto enabled_mesh_components = (
components::mesh_vertex::flags::position |
components::mesh_vertex::flags::tex_coord |
components::mesh_vertex::flags::normal |
components::mesh_vertex::flags::color |
components::mesh_vertex::flags::reflectance
mesh_vertex_components::flags::position |
mesh_vertex_components::flags::tex_coord |
mesh_vertex_components::flags::normal |
mesh_vertex_components::flags::color |
mesh_vertex_components::flags::reflectance
);
constexpr auto enabled_material_components = (
@@ -214,10 +214,10 @@ void controller_task(
// TODO Add point cloud component selection to loaders or remove it all together
constexpr auto enabled_point_cloud_components = (
components::point_cloud_vertex::flags::position |
components::point_cloud_vertex::flags::normal |
components::point_cloud_vertex::flags::color |
components::point_cloud_vertex::flags::reflectance
point_cloud_vertex_components::flags::position |
point_cloud_vertex_components::flags::normal |
point_cloud_vertex_components::flags::color |
point_cloud_vertex_components::flags::reflectance
);
if (const auto e = loader.init(
enabled_mesh_components,