#pragma once #include #include #include "Vector.hpp" #include "Section.hpp" class World; struct SectionsData { Section section; Section west; Section east; Section top; Section bottom; Section north; Section south; unsigned char GetLight(const Vector &pos) const; unsigned char GetSkyLight(const Vector &pos) const; }; struct RendererSectionData { std::vector models; std::vector textures; std::vector textureLayers; std::vector colors; std::vector lights; size_t hash = 0; Vector sectionPos; bool forced = false; }; RendererSectionData ParseSection(const SectionsData §ions);