mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
minor refactor
This commit is contained in:
parent
e3297a418e
commit
a8aa0550c9
4 changed files with 17 additions and 12 deletions
|
|
@ -15,10 +15,9 @@ class Batch2D {
|
|||
float* buffer;
|
||||
size_t capacity;
|
||||
std::unique_ptr<Mesh> mesh;
|
||||
std::unique_ptr<Texture> blank;
|
||||
size_t index;
|
||||
glm::vec4 color;
|
||||
|
||||
Texture* blank;
|
||||
Texture* _texture;
|
||||
|
||||
void vertex(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue