mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 01:49:44 +00:00
remove Mesh constructor 'attrs' argument & format Mesh.hpp
This commit is contained in:
parent
47b7472231
commit
e357a4eb9f
13 changed files with 46 additions and 42 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue