mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-16 04:18:08 +00:00
Visual Debugger implementation
This commit is contained in:
@@ -32,6 +32,8 @@ RawFile::RawFile(std::string fileName) {
|
||||
m_Chunks.push_back(chunk);
|
||||
}
|
||||
|
||||
m_FinalMesh = new RawMesh();
|
||||
|
||||
this->GenerateFinalMeshFromChunks();
|
||||
}
|
||||
|
||||
|
@@ -11,6 +11,8 @@ public:
|
||||
RawFile(std::string filePath);
|
||||
~RawFile();
|
||||
|
||||
RawMesh* GetMesh() { return m_FinalMesh; }
|
||||
|
||||
private:
|
||||
|
||||
void GenerateFinalMeshFromChunks();
|
||||
@@ -23,5 +25,5 @@ private:
|
||||
uint32_t m_Height;
|
||||
|
||||
std::vector<RawChunk*> m_Chunks;
|
||||
RawMesh* m_FinalMesh;
|
||||
RawMesh* m_FinalMesh = nullptr;
|
||||
};
|
||||
|
Reference in New Issue
Block a user