aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/SDLApp.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:23:36 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 22:23:36 +0200
commit6e2c5e1b57210b10f8781f103e5c46308544339f (patch)
tree9738592f2082de1881a0ea019bf3c99644134aef /src/crepe/SDLApp.cpp
parent9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (diff)
more nitpicking
Diffstat (limited to 'src/crepe/SDLApp.cpp')
-rw-r--r--src/crepe/SDLApp.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/crepe/SDLApp.cpp b/src/crepe/SDLApp.cpp
index 198c0d0..f408595 100644
--- a/src/crepe/SDLApp.cpp
+++ b/src/crepe/SDLApp.cpp
@@ -1,8 +1,6 @@
-#include "SDLApp.h"
-#include "Particle.h"
-#include "api/ParticleEmitter.h"
#include <iostream>
-#include <vector>
+
+#include "SDLApp.h"
SDLApp::SDLApp(int window_width, int window_height)
: window_width(window_width), window_height(window_height), window(nullptr),
@@ -18,8 +16,8 @@ bool SDLApp::initialize() {
}
window = SDL_CreateWindow("Particle System", SDL_WINDOWPOS_CENTERED,
- SDL_WINDOWPOS_CENTERED, window_width, window_height,
- SDL_WINDOW_SHOWN);
+ SDL_WINDOWPOS_CENTERED, window_width,
+ window_height, SDL_WINDOW_SHOWN);
if (!window) {
std::cerr << "Window Creation Error: " << SDL_GetError() << std::endl;
return false;