style: fix include ordering across all source files

- C++ std headers first, then third-party, then local
- Apply consistently in cbt/ and scenes/
This commit is contained in:
2026-05-05 22:40:51 +02:00
parent 0c8af1dc0f
commit 40ae94788e
9 changed files with 30 additions and 31 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#include "cbt/opengl/buffer.hpp"
#include "glad/glad.h"
#include "cbt/opengl/buffer.hpp"
namespace cbt::opengl {
buffer::buffer() {
+5 -6
View File
@@ -1,12 +1,11 @@
#define GLFW_INCLUDE_NONE
#include "GLFW/glfw3.h"
#include "cbt/opengl/context.hpp"
#include <string_view>
#include "glad/glad.h"
#define GLFW_INCLUDE_NONE
#include "GLFW/glfw3.h"
#include "fmt/std.h"
#include "glad/glad.h"
#include "cbt/opengl/context.hpp"
namespace cbt::opengl {
+2 -2
View File
@@ -1,7 +1,7 @@
#include "cbt/opengl/descriptor.hpp"
#include "glad/glad.h"
#include "cbt/opengl/descriptor.hpp"
namespace cbt::opengl {
descriptor_set::descriptor_set() {}
+3 -3
View File
@@ -1,12 +1,12 @@
#pragma once
#include "cbt/opengl/buffer.hpp"
#include "cbt/opengl/texture.hpp"
#include <array>
#include <optional>
#include <vector>
#include "cbt/opengl/buffer.hpp"
#include "cbt/opengl/texture.hpp"
namespace cbt::opengl {
struct descriptor_binding {
+2 -2
View File
@@ -1,10 +1,10 @@
#include "cbt/opengl/shader.hpp"
#include <iostream>
#include <string>
#include "fmt/std.h"
#include "cbt/opengl/shader.hpp"
namespace cbt::opengl {
shader::shader() {}
+2 -2
View File
@@ -1,7 +1,7 @@
#include "cbt/opengl/texture.hpp"
#include "glad/glad.h"
#include "cbt/opengl/texture.hpp"
namespace cbt::opengl {
texture::texture() {