reorder includes

This commit is contained in:
2025-09-13 15:51:13 +02:00
parent 2ceee99021
commit df96d9cdba
3 changed files with 5 additions and 10 deletions
+2 -3
View File
@@ -1,11 +1,10 @@
#include <GLFW/glfw3.h>
#include <glad/gl.h>
#include <linmath.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <glad/gl.h>
#include <linmath.h>
#include "file.h"
#include "shaders.h"
#include "types.h"
+2 -3
View File
@@ -1,8 +1,7 @@
#include <stddef.h>
#include <stdio.h>
#include <glad/gl.h>
#include <linmath.h>
#include <stddef.h>
#include <stdio.h>
#include "constants.h"
#include "types.h"
+1 -4
View File
@@ -1,16 +1,13 @@
#include <GLFW/glfw3.h>
#include <linmath.h>
#include <stdio.h>
#include <stdlib.h>
#include <linmath.h>
#include "config.h"
#include "types.h"
#ifndef GLAD_GL_IMPLEMENTATION
#define GLAD_GL_IMPLEMENTATION
#include <glad/gl.h>
#endif
// TODO split into smaller functions
// TODO custom struct to remove glfw in signature