aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 18:50:11 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 18:50:11 +0100
commit6808307cf65a4b686621f08a58effecc0a9c6bb8 (patch)
tree21cd179e1ffa5ed1e98c0ce847ced3685c5b7370 /src
parent2ad55622539bec4d7d50f30ff1d64594a922b136 (diff)
remove unnecessary properties
Diffstat (limited to 'src')
-rw-r--r--src/test/CollisionTest.cpp6
1 files changed, 1 insertions, 5 deletions
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>(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<BoxCollider>(Vector2{5, 11}, 10, 2); // Top