Remove useless comment, fix formatting, etc.

This commit is contained in:
SeanOMik 2022-09-14 23:24:10 -04:00
parent 44f9a5f5a5
commit c9dd65900b
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 4 additions and 5 deletions

View File

@ -49,7 +49,7 @@ namespace simpleengine::gfx {
} }
void Renderer::RenderingModel::destroy_buffers() { void Renderer::RenderingModel::destroy_buffers() {
std::cout << "Destroying buffers for entity!" << std::endl; std::cout << "Destroying entity models..." << std::endl;
// Iterate through all buffer lists and destroy each inner buffer. // Iterate through all buffer lists and destroy each inner buffer.
for (auto& pair : component_models) { for (auto& pair : component_models) {
@ -131,7 +131,6 @@ namespace simpleengine::gfx {
shader.set_uniform_int("u_textures", 0, false); shader.set_uniform_int("u_textures", 0, false);
if (material.has_value()) { if (material.has_value()) {
//Material& material = material
shader.set_uniform_float("u_texture_shine", material->shine, false); shader.set_uniform_float("u_texture_shine", material->shine, false);
shader.set_uniform_float("u_texture_reflectivity", material->reflectivity, false); shader.set_uniform_float("u_texture_reflectivity", material->reflectivity, false);