mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
Custom model block preview
This commit is contained in:
parent
04e5d23c7f
commit
cba15f681b
2 changed files with 33 additions and 13 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue