diff options
author | jaroWMR <jarorutjes07@gmail.com> | 2024-11-07 18:39:56 +0100 |
---|---|---|
committer | jaroWMR <jarorutjes07@gmail.com> | 2024-11-07 18:39:56 +0100 |
commit | e2f3ace383b43cc3f140629e577b97c6f69c9856 (patch) | |
tree | 690eb146e11a4bc134840ec82bfbea4805daba61 /src/example/particle.cpp | |
parent | 156906dca0b84d3fd3c889e1bcda12308b8fe793 (diff) |
added physics system
Diffstat (limited to 'src/example/particle.cpp')
-rw-r--r-- | src/example/particle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/particle.cpp b/src/example/particle.cpp index 607530d..0ab5632 100644 --- a/src/example/particle.cpp +++ b/src/example/particle.cpp @@ -7,7 +7,7 @@ #include <crepe/Particle.h> #include <crepe/api/GameObject.h> #include <crepe/api/ParticleEmitter.h> -#include <crepe/api/Point.h> +#include <crepe/api/Vector2.h> #include <crepe/facade/SDLApp.h> #include <crepe/system/ParticleSystem.h> @@ -26,7 +26,7 @@ int main(int argc, char * argv[]) { } GameObject * game_object[1]; - game_object[0] = new GameObject(0, "Name", "Tag", Point{0, 0}, 0, 1); + game_object[0] = new GameObject(0, "Name", "Tag", Vector2{0, 0}, 0, 1); // FIXME: all systems are singletons, so this shouldn't even compile. ParticleSystem particle_system; |