From 9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 23 Oct 2024 21:54:28 +0200 Subject: `clang-format` --- mwe/resource-manager/map_layer.h | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'mwe/resource-manager/map_layer.h') diff --git a/mwe/resource-manager/map_layer.h b/mwe/resource-manager/map_layer.h index e633290..fb656ed 100644 --- a/mwe/resource-manager/map_layer.h +++ b/mwe/resource-manager/map_layer.h @@ -1,26 +1,23 @@ #pragma once - #include "TextureMap.h" #include #include -class MapLayer final{ +class MapLayer final { public: explicit MapLayer(); ~MapLayer(); - bool create(const tmx::Map&, std::uint32_t index, const std::vector& textures); - void draw(SDL_Renderer*) const; + bool create(const tmx::Map &, std::uint32_t index, + const std::vector & textures); + void draw(SDL_Renderer *) const; private: - - struct subset final - { - std::vector vertexData; - SDL_Texture* texture = nullptr; - }; - std::vector m_subsets; - + struct subset final { + std::vector vertexData; + SDL_Texture * texture = nullptr; + }; + std::vector m_subsets; }; -- cgit v1.2.3