diff options
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/rendering_particle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp index e8b3775..4430d75 100644 --- a/src/example/rendering_particle.cpp +++ b/src/example/rendering_particle.cpp @@ -40,11 +40,11 @@ public: .position_offset = {0, 0}, }); - auto & cam = game_object.add_component<Camera>(ivec2{1280, 720}, vec2{400, 400}, + auto & cam = game_object.add_component<Camera>(ivec2{1280, 720}, vec2{4000, 4000}, Camera::Data{ .bg_color = Color::WHITE, }); - game_object.add_component<Text>(vec2{400, 400}, vec2{0, 0}, "ComicSansMS", + game_object.add_component<Text>(vec2{4000, 400}, vec2{0, 0}, "ComicSansMS", Text::Data{.text_color = Color::RED}, "TEST test"); } |