Mon, 01 Apr 2024 19:44:00 +0200
cleanup includes
src/Makefile | file | annotate | diff | comparison | revisions | |
src/context.c | file | annotate | diff | comparison | revisions | |
src/scene.c | file | annotate | diff | comparison | revisions |
1.1 --- a/src/Makefile Mon Apr 01 19:01:04 2024 +0200 1.2 +++ b/src/Makefile Mon Apr 01 19:44:00 2024 +0200 1.3 @@ -49,8 +49,7 @@ 1.4 ascension/datatypes.h ascension/window.h ascension/glcontext.h \ 1.5 ascension/primitives.h ascension/mesh.h ascension/shader.h \ 1.6 ascension/scene.h ascension/transform.h ascension/camera.h \ 1.7 - ascension/ui/font.h ascension/error.h ascension/utils.h \ 1.8 - ascension/shader.h 1.9 + ascension/ui/font.h ascension/error.h ascension/utils.h 1.10 @echo "Compiling $<" 1.11 $(CC) -o $@ $(CFLAGS) -c $< 1.12 1.13 @@ -89,10 +88,10 @@ 1.14 $(CC) -o $@ $(CFLAGS) -c $< 1.15 1.16 $(BUILD_DIR)/scene.o: scene.c ascension/scene.h ascension/datatypes.h \ 1.17 - ascension/transform.h ascension/camera.h ascension/error.h \ 1.18 - ascension/context.h ascension/window.h ascension/glcontext.h \ 1.19 - ascension/primitives.h ascension/mesh.h ascension/shader.h \ 1.20 - ascension/scene.h ascension/ui/font.h ascension/shader.h 1.21 + ascension/transform.h ascension/camera.h ascension/context.h \ 1.22 + ascension/window.h ascension/glcontext.h ascension/primitives.h \ 1.23 + ascension/mesh.h ascension/shader.h ascension/scene.h \ 1.24 + ascension/ui/font.h ascension/shader.h 1.25 @echo "Compiling $<" 1.26 $(CC) -o $@ $(CFLAGS) -c $< 1.27
2.1 --- a/src/context.c Mon Apr 01 19:01:04 2024 +0200 2.2 +++ b/src/context.c Mon Apr 01 19:44:00 2024 +0200 2.3 @@ -28,7 +28,6 @@ 2.4 #include "ascension/context.h" 2.5 #include "ascension/error.h" 2.6 #include "ascension/utils.h" 2.7 -#include "ascension/shader.h" 2.8 2.9 #include <SDL2/SDL.h> 2.10 #include <SDL2/SDL_ttf.h>
3.1 --- a/src/scene.c Mon Apr 01 19:01:04 2024 +0200 3.2 +++ b/src/scene.c Mon Apr 01 19:44:00 2024 +0200 3.3 @@ -26,7 +26,6 @@ 3.4 */ 3.5 3.6 #include "ascension/scene.h" 3.7 -#include "ascension/error.h" 3.8 3.9 #include "ascension/context.h" 3.10