Minor refactor

This commit is contained in:
MihailRis
2024-01-03 20:42:26 +03:00
parent 0d36f52bdd
commit 2ad115a2a8
9 changed files with 19 additions and 20 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include "../typedefs.h"
#include <glm/glm.hpp>
#include <memory>
class Viewport;
class Shader;
@@ -14,7 +15,7 @@ class ContentGfxCache;
class BlocksPreview {
Shader* shader;
Atlas* atlas;
Batch3D* batch;
std::unique_ptr<Batch3D> batch;
const ContentGfxCache* const cache;
const Viewport* viewport;
public: