mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
19 lines
327 B
C++
19 lines
327 B
C++
#ifndef GRAPHICS_VOXELRENDERER_H_
|
|
#define GRAPHICS_VOXELRENDERER_H_
|
|
|
|
#include <stdlib.h>
|
|
|
|
class Mesh;
|
|
class Chunk;
|
|
|
|
class VoxelRenderer {
|
|
float* buffer;
|
|
size_t capacity;
|
|
public:
|
|
VoxelRenderer(size_t capacity);
|
|
~VoxelRenderer();
|
|
|
|
Mesh* render(Chunk* chunk, const Chunk** chunks);
|
|
};
|
|
|
|
#endif /* GRAPHICS_VOXELRENDERER_H_ */
|