add ModelBatch

This commit is contained in:
MihailRis
2024-06-20 19:45:19 +03:00
parent 99094d2299
commit 6d6313cd10
7 changed files with 200 additions and 2 deletions
+2
View File
@@ -5,7 +5,9 @@
#include <GL/glew.h>
#include "../../typedefs.hpp"
#include "../../maths/UVRegion.hpp"
/// xyz, uv, rgba
inline constexpr uint B3D_VERTEX_SIZE = 9;
Batch3D::Batch3D(size_t capacity)