extract ModelsGenerator::fromCustom
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "graphics/commons/Model.hpp"
|
||||
#include "maths/aabb.hpp"
|
||||
|
||||
struct ItemDef;
|
||||
class Assets;
|
||||
@@ -11,4 +12,12 @@ public:
|
||||
static model::Model generate(
|
||||
const ItemDef& def, const Content& content, const Assets& assets
|
||||
);
|
||||
|
||||
static model::Model fromCustom(
|
||||
const Assets& assets,
|
||||
const std::vector<AABB>& modelBoxes,
|
||||
const std::vector<std::string>& modelTextures,
|
||||
const std::vector<glm::vec3>& points,
|
||||
bool lighting
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user