Fixed .clang-format to not sort includes
This commit is contained in:
parent
cbd121da61
commit
93643b3775
@ -3,3 +3,4 @@ BreakBeforeBraces: Attach
|
||||
CompactNamespaces: true
|
||||
FixNamespaceComments: true
|
||||
NamespaceIndentation: None
|
||||
SortIncludes: Never
|
||||
|
@ -5,10 +5,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "color.hpp"
|
||||
#include "font.hpp"
|
||||
#include "texture.hpp"
|
||||
#include <string>
|
||||
|
||||
namespace glez::draw {
|
||||
|
||||
|
@ -5,10 +5,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <freetype-gl.h>
|
||||
#include <limits>
|
||||
#include <string>
|
||||
|
||||
#include <freetype-gl.h>
|
||||
|
||||
namespace glez {
|
||||
|
||||
class font {
|
||||
|
@ -6,10 +6,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <freetype-gl.h>
|
||||
#include <limits>
|
||||
#include <string>
|
||||
|
||||
#include <freetype-gl.h>
|
||||
|
||||
namespace glez {
|
||||
|
||||
class texture {
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -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) {
|
||||
|
10
src/glez.cpp
10
src/glez.cpp
@ -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
|
||||
|
@ -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 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user