From 6808307cf65a4b686621f08a58effecc0a9c6bb8 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 20 Nov 2024 18:50:11 +0100 Subject: remove unnecessary properties --- src/test/CollisionTest.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/test') diff --git a/src/test/CollisionTest.cpp b/src/test/CollisionTest.cpp index 5ee560a..a68db46 100644 --- a/src/test/CollisionTest.cpp +++ b/src/test/CollisionTest.cpp @@ -61,13 +61,9 @@ public: void SetUp() override { world.add_component(Rigidbody::Data{ // TODO: remove unrelated properties: - .mass = 0, - .gravity_scale = 0, .body_type = Rigidbody::BodyType::STATIC, - .constraints = {0, 0, 0}, - .use_gravity = false, .bounce = false, - .offset = {0,0} + .offset = {0,0}, }); // Create a box with an inner size of 10x10 units world.add_component(Vector2{5, 11}, 10, 2); // Top -- cgit v1.2.3