worked on obj and mtl prefetching nad parsing

This commit is contained in:
ZY4N
2024-12-26 20:20:02 +01:00
parent b385b3b1c8
commit 447146b7f5
16 changed files with 606 additions and 376 deletions

View File

@@ -71,3 +71,10 @@ inline const auto& dynamic_mesh_buffer::material_id() const
{
return m_material_id;
}
inline void dynamic_mesh_buffer::clear()
{
clear_vertices();
m_triangles.clear();
m_material_id = {};
}