remove Mesh constructor 'attrs' argument & format Mesh.hpp

This commit is contained in:
MihailRis
2025-04-27 01:13:44 +03:00
parent 47b7472231
commit e357a4eb9f
13 changed files with 46 additions and 42 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
LineBatch::LineBatch(size_t capacity) : capacity(capacity) {
buffer = std::make_unique<LineVertex[]>(capacity * 2);
mesh = std::make_unique<Mesh<LineVertex>>(buffer.get(), 0, LineVertex::ATTRIBUTES);
mesh = std::make_unique<Mesh<LineVertex>>(buffer.get(), 0);
index = 0;
}