refactor
This commit is contained in:
@@ -22,7 +22,7 @@ class ContentGfxCache {
|
||||
std::unique_ptr<UVRegion[]> sideregions;
|
||||
std::unordered_map<blockid_t, model::Model> models;
|
||||
public:
|
||||
ContentGfxCache(const Content* content, Assets* assets);
|
||||
ContentGfxCache(const Content* content, const Assets& assets);
|
||||
~ContentGfxCache();
|
||||
|
||||
inline const UVRegion& getRegion(blockid_t id, int side) const {
|
||||
@@ -30,6 +30,6 @@ public:
|
||||
}
|
||||
|
||||
const model::Model& getModel(blockid_t id) const;
|
||||
|
||||
|
||||
const Content* getContent() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user