From a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Tue, 17 Oct 2017 23:33:13 +0500 Subject: Refactored #include directives --- src/RendererSection.hpp | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'src/RendererSection.hpp') diff --git a/src/RendererSection.hpp b/src/RendererSection.hpp index 6745987..26068e4 100644 --- a/src/RendererSection.hpp +++ b/src/RendererSection.hpp @@ -1,17 +1,18 @@ #pragma once +#include +#include + +#include #include -#include -#include -#include -#include -#include - -#include "AssetManager.hpp" -#include "Section.hpp" -#include "World.hpp" + #include "Vector.hpp" -#include "Renderer.hpp" +#include "Block.hpp" + +class BlockModel; +class AssetManager; +class World; +class RenderState; struct RendererSectionData { std::vector models; @@ -28,8 +29,6 @@ private: std::array GetBlockVisibilityData(World *world); - AssetManager& am = AssetManager::Instance(); - std::vector> idModels; const BlockModel* GetInternalBlockModel(const BlockId& id); @@ -42,9 +41,7 @@ private: inline const BlockId& GetBlockId(int x, int y, int z) { return blockIdData[y * 256 +z * 16 + x]; - } - - + } }; -- cgit v1.2.3