Delete src/graphics/VoxelRenderer.h
This commit is contained in:
parent
e2404830b8
commit
76c2f96a8e
@ -1,22 +0,0 @@
|
|||||||
#ifndef GRAPHICS_VOXELRENDERER_H_
|
|
||||||
#define GRAPHICS_VOXELRENDERER_H_
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <vector>
|
|
||||||
|
|
||||||
class Mesh;
|
|
||||||
class Chunk;
|
|
||||||
|
|
||||||
#define CHUNK_VERTEX_SIZE (3 + 2 + 4)
|
|
||||||
|
|
||||||
class VoxelRenderer {
|
|
||||||
public:
|
|
||||||
std::vector<float> buffer;
|
|
||||||
unsigned char lights[27 * 4];
|
|
||||||
VoxelRenderer();
|
|
||||||
~VoxelRenderer();
|
|
||||||
|
|
||||||
const float* render(Chunk* chunk, const Chunk** chunks, size_t& size);
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif /* GRAPHICS_VOXELRENDERER_H_ */
|
|
||||||
Loading…
x
Reference in New Issue
Block a user