Fixed .clang-format to not sort includes

This commit is contained in:
Rebekah 2022-04-07 13:30:38 -04:00
parent cbd121da61
commit 93643b3775
Signed by: oneechanhax
GPG Key ID: 183EB7902964DAE5
8 changed files with 23 additions and 13 deletions

View File

@ -3,3 +3,4 @@ BreakBeforeBraces: Attach
CompactNamespaces: true
FixNamespaceComments: true
NamespaceIndentation: None
SortIncludes: Never

View File

@ -5,10 +5,11 @@
#pragma once
#include <string>
#include "color.hpp"
#include "font.hpp"
#include "texture.hpp"
#include <string>
namespace glez::draw {

View File

@ -5,10 +5,11 @@
#pragma once
#include <freetype-gl.h>
#include <limits>
#include <string>
#include <freetype-gl.h>
namespace glez {
class font {

View File

@ -6,10 +6,11 @@
#pragma once
#include <cstddef>
#include <freetype-gl.h>
#include <limits>
#include <string>
#include <freetype-gl.h>
namespace glez {
class texture {

View File

@ -6,11 +6,13 @@
#include <cassert>
#include <cmath>
#include <cstring>
#include <vertex-buffer.h>
#include <glez/draw.hpp>
#include <glez/font.hpp>
#include <glez/glez.hpp>
#include <glez/texture.hpp>
#include <vertex-buffer.h>
namespace indices {

View File

@ -4,10 +4,11 @@
*/
#include <cassert>
#include <glez/font.hpp>
#include <memory>
#include <vector>
#include <glez/font.hpp>
namespace glez {
font font::loadFromFile(const std::string& path, float size) {

View File

@ -6,14 +6,16 @@
#include <cassert>
#include <cstdio>
#include <cstring>
#include <stdexcept>
#include <freetype-gl.h>
#include <glez/font.hpp>
#include <glez/glez.hpp>
#include <vertex-buffer.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <stdexcept>
#include <vertex-buffer.h>
#include <glez/font.hpp>
#include <glez/glez.hpp>
static const char* shader_vertex = R"END(
#version 130

View File

@ -3,15 +3,16 @@
Copyright (c) 2018 nullworks. All rights reserved.
*/
#include "picopng/picopng.hpp"
#include <cassert>
#include <cstring>
#include <glez/glez.hpp>
#include <glez/texture.hpp>
#include <fstream>
#include <memory>
#include <vector>
#include <fstream> // required to load the file
#include "picopng/picopng.hpp"
#include <glez/glez.hpp>
#include <glez/texture.hpp>
namespace glez {