mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
41898bef86
and include fixes
29 lines
431 B
C++
29 lines
431 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <cstdint>
|
|
|
|
class RawChunk;
|
|
struct RawMesh;
|
|
|
|
class RawFile {
|
|
public:
|
|
RawFile(std::string filePath);
|
|
~RawFile();
|
|
|
|
private:
|
|
|
|
void GenerateFinalMeshFromChunks();
|
|
void WriteFinalMeshToOBJ(std::string path);
|
|
|
|
uint8_t m_Version;
|
|
uint16_t m_Padding;
|
|
uint32_t m_ChunkCount;
|
|
uint32_t m_Width;
|
|
uint32_t m_Height;
|
|
|
|
std::vector<RawChunk*> m_Chunks;
|
|
RawMesh* m_FinalMesh;
|
|
};
|