aboutsummaryrefslogtreecommitdiff
path: root/src/example/particle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/particle.cpp')
-rw-r--r--src/example/particle.cpp4
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;