aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-19 19:45:17 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-19 19:45:17 +0100
commit8cd4b07e866d33589a7218367a5639b602c40c67 (patch)
tree8559434b3b6f0b89d7bcd9c9c2d6bb13bc3b67b2 /src/example
parent655fcc23f2ced807738feffe8b85683eaf97624f (diff)
make format
Diffstat (limited to 'src/example')
-rw-r--r--src/example/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp
index 76ea8c2..fb7fb63 100644
--- a/src/example/game.cpp
+++ b/src/example/game.cpp
@@ -220,7 +220,7 @@ public:
});
GameObject game_object1 = new_object(
- "Name", "Tag", vec2{screen_size_width / 2, screen_size_height / 2+20}, 0, 1);
+ "Name", "Tag", vec2{screen_size_width / 2, screen_size_height / 2 + 20}, 0, 1);
game_object1.add_component<Rigidbody>(Rigidbody::Data{
.mass = 1,
.gravity_scale = 0,
@@ -270,7 +270,7 @@ public:
.size = {20, 20},
.angle_offset = 45,
.scale_offset = 1,
- .position_offset = {0,20},
+ .position_offset = {0, 20},
});
//add circle with cirlcecollider deactiveated