From 02a2ba28182fab8580ea52014fbd2a1a2f48afaf Mon Sep 17 00:00:00 2001 From: Jan Mrna Date: Mon, 29 Sep 2025 14:15:08 +0200 Subject: [PATCH] Window member variables set as private --- cpp/src/window.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/src/window.hpp b/cpp/src/window.hpp index b582b53..8813747 100644 --- a/cpp/src/window.hpp +++ b/cpp/src/window.hpp @@ -30,11 +30,11 @@ public: void DrawCircle(const WorldPos &position, float radius); void DrawLine(const WorldPos &A, const WorldPos &B); +private: + uint32_t m_Width; + uint32_t m_Height; std::shared_ptr m_Renderer = nullptr; SDL_Window *m_Window; SDL_GLContext m_Context; -private: - uint32_t m_Width; - uint32_t m_Height; };