diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 08:36:17 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-19 08:36:17 +0100 |
commit | 714edd69d53a6243e9a2b81f62d309c96b71dd8d (patch) | |
tree | 12492c1f89ac4f5d38292e671c48f78eab95879e /src/example | |
parent | 5a087d8a01d00a737ae602370c2c3514294da88d (diff) |
bug fix and doxygen fix
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 01e55d5..f931878 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -206,7 +206,7 @@ public: vec2{world_collider, world_collider}, vec2{0, screen_size_height / 2 + world_collider / 2}); // Bottom world.add_component<BoxCollider>( - vec2{world_collider, world_collider},git stauts + vec2{world_collider, world_collider}, vec2{0 - (screen_size_width / 2 + world_collider / 2), 0}); // Left world.add_component<BoxCollider>( vec2{world_collider, world_collider}, @@ -256,7 +256,7 @@ public: "Name", "Tag", vec2{screen_size_width / 2, screen_size_height / 2}, 0, 1); game_object2.add_component<Rigidbody>(Rigidbody::Data{ .mass = 1, - .gravity_scale = 1, + .gravity_scale = 0, .body_type = Rigidbody::BodyType::DYNAMIC, .linear_velocity = {0, 0}, .constraints = {0, 0, 0}, |