aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-10 08:38:40 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-10 08:38:40 +0200
commitd001c4ba95a72f13c942f1a24eb98fe1584d93a4 (patch)
tree8d72f1ddf9baf591fdf99397aa1495a219d35d35 /src/example
parent163c9e3eea437daa8ef6007fbdf2f91470066cbf (diff)
Renamed files and Emitter is a component
Diffstat (limited to 'src/example')
-rw-r--r--src/example/particel.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/example/particel.cpp b/src/example/particel.cpp
index 58480a9..c66bbef 100644
--- a/src/example/particel.cpp
+++ b/src/example/particel.cpp
@@ -1,12 +1,14 @@
#include <iostream>
#include <thread>
#include <chrono>
-#include "SDLApp.hpp"
-#include "ParticleEmitter.hpp"
-#include "ParticleSystem.hpp"
-#include "Particle.hpp"
+#include "SDLApp.h"
+#include "ParticleEmitter.h"
+#include "ParticleSystem.h"
+#include "Particle.h"
#include <chrono>
+using namespace crepe;
+
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;