diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 20:17:28 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 20:17:28 +0100 |
commit | 3e7a0a5a2c5ad14ee388f3ac460bf63bdb6ccfd5 (patch) | |
tree | 8bb56303e780e1992768a1433cf99ae4fd884907 /src/example | |
parent | d2c8a2bf07275f5458c576990b8742a710b15013 (diff) | |
parent | 8cd4b07e866d33589a7218367a5639b602c40c67 (diff) |
updated nan
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/game.cpp | 4 |
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 |