From dd035ffa17f4573f06316e0ecb83b426f5ed8285 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Thu, 19 Dec 2024 18:58:01 +0100 Subject: updated coments and reverted test cmake --- src/example/collisiontest.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/example/collisiontest.cpp') diff --git a/src/example/collisiontest.cpp b/src/example/collisiontest.cpp index 95999c6..b0cb92e 100644 --- a/src/example/collisiontest.cpp +++ b/src/example/collisiontest.cpp @@ -75,8 +75,7 @@ class MyScript1 : public Script { } break; - } - case Keycode::Q: { + }case Keycode::Q: { if(movement){ movement = false; Rigidbody & tf = this->get_component(); @@ -136,7 +135,7 @@ public: game_object1.add_component(Rigidbody::Data{ .gravity_scale = 0, .body_type = Rigidbody::BodyType::KINEMATIC, - .elastisity_coefficient = 1, + .elasticity_coefficient = 1, }); // add box with boxcollider game_object1.add_component(vec2{20, 20}); -- cgit v1.2.3