From bcaee968761c1d2e85c20925b237480c87da9747 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Tue, 17 Dec 2024 13:29:58 +0100 Subject: tmp fix --- src/example/rendering_particle.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/example') diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp index 21ed7fc..b261f52 100644 --- a/src/example/rendering_particle.cpp +++ b/src/example/rendering_particle.cpp @@ -1,3 +1,5 @@ + + #include "api/Asset.h" #include "api/Text.h" #include @@ -14,7 +16,6 @@ #include #include #include -#include using namespace crepe; using namespace std; @@ -65,8 +66,8 @@ public: Camera::Data{ .bg_color = Color::WHITE, }); - - game_object.add_component(vec2{200,200}, vec2{0,0}, "test test", "", Text::Data{}); + game_object.add_component(vec2{200, 200}, vec2{0, 0}, "test test", "Ariel.ttf", + Text::Data{}); } string get_name() const { return "TestScene"; }; -- cgit v1.2.3