add ModelBatch
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef GRAPHICS_CORE_BATCH3D_HPP_
|
||||
#define GRAPHICS_CORE_BATCH3D_HPP_
|
||||
|
||||
#include "../../maths/UVRegion.hpp"
|
||||
#include "../../typedefs.hpp"
|
||||
|
||||
#include <memory>
|
||||
@@ -10,6 +9,7 @@
|
||||
|
||||
class Mesh;
|
||||
class Texture;
|
||||
struct UVRegion;
|
||||
|
||||
class Batch3D {
|
||||
std::unique_ptr<float[]> buffer;
|
||||
|
||||
Reference in New Issue
Block a user