mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +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
|
|
@ -11,7 +11,7 @@ Batch3D::Batch3D(size_t capacity)
|
|||
|
||||
|
||||
buffer = std::make_unique<Batch3DVertex[]>(capacity);
|
||||
mesh = std::make_unique<Mesh<Batch3DVertex>>(buffer.get(), 0, Batch3DVertex::ATTRIBUTES);
|
||||
mesh = std::make_unique<Mesh<Batch3DVertex>>(buffer.get(), 0);
|
||||
index = 0;
|
||||
|
||||
const ubyte pixels[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue