Custom model block preview

This commit is contained in:
InfiniteCoder
2024-02-26 18:15:22 +03:00
parent 04e5d23c7f
commit cba15f681b
2 changed files with 33 additions and 13 deletions
+2
View File
@@ -2,6 +2,7 @@
#define FRONTEND_BLOCKS_PREVIEW_H_
#include "../typedefs.h"
#include "../graphics/Shader.h"
#include <glm/glm.hpp>
#include <memory>
@@ -17,6 +18,7 @@ class ContentGfxCache;
class BlocksPreview {
static ImageData* draw(
const ContentGfxCache* cache,
Shader* shader,
Framebuffer* framebuffer,
Batch3D* batch,
const Block* block,