mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
refactor
This commit is contained in:
parent
e06350915e
commit
925ef426de
6 changed files with 240 additions and 233 deletions
|
|
@ -15,18 +15,19 @@ class Content;
|
|||
class ContentGfxCache;
|
||||
|
||||
class BlocksPreview {
|
||||
public:
|
||||
static ImageData* draw(
|
||||
const ContentGfxCache* cache,
|
||||
Framebuffer* framebuffer,
|
||||
Batch3D* batch,
|
||||
const Block* block,
|
||||
int size);
|
||||
|
||||
int size
|
||||
);
|
||||
public:
|
||||
static std::unique_ptr<Atlas> build(
|
||||
const ContentGfxCache* cache,
|
||||
Assets* assets,
|
||||
const Content* content);
|
||||
const Content* content
|
||||
);
|
||||
};
|
||||
|
||||
#endif // FRONTEND_BLOCKS_PREVIEW_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue