From 9b337ae01e4f3efc6ad3be5af33e3df8e9224d71 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Wed, 11 Dec 2024 15:47:49 +0100 Subject: make format --- src/example/rendering_particle.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/example/rendering_particle.cpp') diff --git a/src/example/rendering_particle.cpp b/src/example/rendering_particle.cpp index b57ba04..48e02ba 100644 --- a/src/example/rendering_particle.cpp +++ b/src/example/rendering_particle.cpp @@ -71,21 +71,21 @@ public: anim.set_anim(2); anim.pause(); - auto & cam = game_object.add_component(ivec2{1280, 720}, vec2{400, 400}, + auto & cam = game_object.add_component(ivec2{720, 1280}, vec2{400, 400}, Camera::Data{ .bg_color = Color::WHITE, }); - function on_click = [&](){ cout << "button clicked" << std::endl; }; - function on_enter = [&](){ cout << "enter" << std::endl; }; - function on_exit = [&](){ cout << "exit" << std::endl; }; + function on_click = [&]() { cout << "button clicked" << std::endl; }; + function on_enter = [&]() { cout << "enter" << std::endl; }; + function on_exit = [&]() { cout << "exit" << std::endl; }; - auto & button = game_object.add_component