Skip to content

Commit

Permalink
remove unnecssary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammed-Nour committed Oct 10, 2024
1 parent e5a12ab commit a630155
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/world/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ void model::allocate_buffers(const std::vector<tinyobj::shape_t>& shapes)
}
vertex_buffers.push_back(std::make_shared<cg::resource<cg::vertex>>(vertex_buffer_size));
index_buffers.push_back(std::make_shared<cg::resource<unsigned int>>(index_buffer_size));

// std::cout << "Vertex buffer size "<< vertex_buffer_size * sizeof(cg::vertex) << "\n";
// std::cout << "Index buffer size "<< index_buffer_size * sizeof(unsigned int) << "\n";

// std::cout << "Pure vertex buffer size "<<index_buffer_size * sizeof(cg::vertex) << "\n";
// std::cout << "Saving " << index_buffer_size * sizeof(cg::vertex) - vertex_buffer_size * sizeof(cg::vertex) - index_buffer_size * sizeof(unsigned int) << "\n";
}
textures.resize(shapes.size());
}
Expand Down

0 comments on commit a630155

Please sign in to comment.