mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add variants (WIP)
This commit is contained in:
parent
01181b6403
commit
5478d121f0
16 changed files with 275 additions and 177 deletions
|
|
@ -8,6 +8,7 @@ struct ItemDef;
|
|||
class Assets;
|
||||
class Content;
|
||||
class Block;
|
||||
struct Variant;
|
||||
|
||||
class ModelsGenerator {
|
||||
public:
|
||||
|
|
@ -28,4 +29,8 @@ public:
|
|||
static model::Model loadCustomBlockModel(
|
||||
const dv::value& primitives, const Assets& assets, bool lighting
|
||||
);
|
||||
|
||||
static void prepareModel(
|
||||
Assets& assets, const Block& def, Variant& variant, uint8_t variantId
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue