From 23086a5d33acc66414f1169bf22abe78b3383f94 Mon Sep 17 00:00:00 2001 From: hachem Date: Wed, 13 Aug 2025 18:39:13 +0200 Subject: fix: more consistent formatting --- src/core/application.h | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) (limited to 'src/core/application.h') diff --git a/src/core/application.h b/src/core/application.h index 713ecba..e5a983a 100644 --- a/src/core/application.h +++ b/src/core/application.h @@ -6,14 +6,11 @@ #include #include -namespace Donut -{ - class VertexArray; - class VertexBuffer; - class IndexBuffer; - class Shader; - class Texture2D; -}; +#include "rendering/vertex_array.h" +#include "rendering/vertex_buffer.h" +#include "rendering/index_buffer.h" +#include "rendering/shader.h" +#include "rendering/texture.h" namespace Donut { @@ -41,29 +38,29 @@ namespace Donut bool m_running; bool m_minimized; - std::shared_ptr m_vertex_array; + std::shared_ptr m_vertex_array; std::shared_ptr m_vertex_buffer; - std::shared_ptr m_index_buffer; - std::shared_ptr m_shader; - std::shared_ptr m_texture; + std::shared_ptr m_index_buffer; + std::shared_ptr m_shader; + std::shared_ptr m_texture; - std::shared_ptr m_compute_shader; + std::shared_ptr m_compute_shader; std::shared_ptr m_processed_texture; float m_compute_brightness; float m_compute_contrast; float m_compute_saturation; - bool m_use_compute_shader; + bool m_use_compute_shader; std::unique_ptr m_camera; - bool m_keys[1024] = { false }; - bool m_first_mouse = true; - float m_last_x = 0.0f; - float m_last_y = 0.0f; - float m_delta_time = 0.0f; - float m_last_frame = 0.0f; - bool m_mouse_dragging = false; - float m_texture_time = 0.0f; + bool m_keys[1024] = { false }; + bool m_first_mouse = true; + float m_last_x = 0.0f; + float m_last_y = 0.0f; + float m_delta_time = 0.0f; + float m_last_frame = 0.0f; + bool m_mouse_dragging = false; + float m_texture_time = 0.0f; static Application* s_instance; }; -- cgit v1.3