aboutsummaryrefslogtreecommitdiff
path: root/src/example/rendering_particle.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-22 14:42:29 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-22 14:42:29 +0100
commit90f793932e40b2e1328c513a91830acb1a720f26 (patch)
treedf0abeb829de1b9c3387de133eb111e0dbd0534a /src/example/rendering_particle.cpp
parenta11b647bec22890be44d68d15de6b73f8955722d (diff)
parent7e2a5ee035524fff798d8f480e56aeca6b775f90 (diff)
Merge remote-tracking branch 'origin/master' into max/vector2
Diffstat (limited to 'src/example/rendering_particle.cpp')
-rw-r--r--src/example/rendering_particle.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp
index 1a36529..b38e860 100644
--- a/src/example/rendering_particle.cpp
+++ b/src/example/rendering_particle.cpp
@@ -1,5 +1,6 @@
#include "api/Camera.h"
#include "system/ParticleSystem.h"
+#include "types.h"
#include <SDL2/SDL_timer.h>
#include <crepe/ComponentManager.h>
@@ -23,7 +24,7 @@ using namespace std;
int main(int argc, char * argv[]) {
ComponentManager mgr;
- GameObject game_object = mgr.new_object("", "", vec2{100, 100}, 0, 0.1);
+ GameObject game_object = mgr.new_object("", "", vec2{0, 0}, 0, 0.1);
RenderSystem sys{mgr};
ParticleSystem psys{mgr};