tried making naming more uniform and implemented most of the opengl managers
This commit is contained in:
@@ -74,7 +74,7 @@ std::optional<mesh_batch_renderer::id_type> mesh_batch_renderer::add(
|
||||
|
||||
if (
|
||||
(
|
||||
requirement.vertex_requirements != components::mesh_vertex::flags::none and
|
||||
requirement.vertex_requirements != mesh_vertex_components::flags::none and
|
||||
(vertex_comps & requirement.vertex_requirements) == requirement.vertex_requirements
|
||||
)
|
||||
and
|
||||
@@ -271,7 +271,7 @@ void mesh_batch_renderer::render(
|
||||
const auto [ vertex_components, material_components ] = batch_components;
|
||||
|
||||
const auto textured = (
|
||||
(vertex_components & components::mesh_vertex::flags::tex_coord) != components::mesh_vertex::flags::none
|
||||
(vertex_components & mesh_vertex_components::flags::tex_coord) != mesh_vertex_components::flags::none
|
||||
and (material_components & material_component::flags::texture) != material_component::flags::none
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user