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:
@@ -1,7 +1,7 @@
|
||||
#include "cbt/opengl/buffer.hpp"
|
||||
|
||||
#include "glad/glad.h"
|
||||
|
||||
#include "cbt/opengl/buffer.hpp"
|
||||
|
||||
namespace cbt::opengl {
|
||||
|
||||
buffer::buffer() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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() {}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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() {}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "cbt/opengl/texture.hpp"
|
||||
|
||||
#include "glad/glad.h"
|
||||
|
||||
#include "cbt/opengl/texture.hpp"
|
||||
|
||||
namespace cbt::opengl {
|
||||
|
||||
texture::texture() {
|
||||
|
||||
Reference in New Issue
Block a user