Added missing files
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef FRONTEND_BLOCKS_PREVIEW_H_
|
||||
#define FRONTEND_BLOCKS_PREVIEW_H_
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
class Shader;
|
||||
class Atlas;
|
||||
class Batch3D;
|
||||
class Camera;
|
||||
class Block;
|
||||
class ContentGfxCache;
|
||||
|
||||
class BlocksPreview {
|
||||
Shader* shader;
|
||||
Atlas* atlas;
|
||||
Batch3D* batch;
|
||||
Camera* camera;
|
||||
const ContentGfxCache* const cache;
|
||||
public:
|
||||
BlocksPreview(Shader* shader, Atlas* atlas, const ContentGfxCache* cache);
|
||||
~BlocksPreview();
|
||||
|
||||
void begin();
|
||||
void draw(const Block* block, int x, int y, int size, glm::vec4 tint);
|
||||
};
|
||||
|
||||
#endif // FRONTEND_BLOCKS_PREVIEW_H_
|
||||
Reference in New Issue
Block a user