feat: new block custom models implementation (WIP)
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
|
||||
#include "graphics/commons/Model.hpp"
|
||||
#include "maths/aabb.hpp"
|
||||
#include "data/dv.hpp"
|
||||
|
||||
struct ItemDef;
|
||||
class Assets;
|
||||
class Content;
|
||||
struct Block;
|
||||
|
||||
class ModelsGenerator {
|
||||
public:
|
||||
@@ -20,4 +22,8 @@ public:
|
||||
const std::vector<glm::vec3>& points,
|
||||
bool lighting
|
||||
);
|
||||
|
||||
static model::Model loadCustomBlockModel(
|
||||
const dv::value& primitives, const Assets& assets, bool lighting
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user