#pragma once #include #include #include struct chunkHeader { char name[5]; int size; std::streampos position; }; class Object { public: Object(const char* path); ~Object(); private: std::list lChunkMsh2; std::list lChunkModl; std::fstream fsMesh; private: void loadChunks(std::list &destination, std::streampos start, const char end[5]); public: };