feat: add a few more debug demos

This commit is contained in:
Sébastien Crozet
2024-04-14 15:56:47 +02:00
committed by Sébastien Crozet
parent 9c5c14070d
commit 3ad9c5ad3b
11 changed files with 250 additions and 3 deletions

View File

@@ -56,8 +56,8 @@ pub fn init_world(testbed: &mut Testbed) {
1 => ColliderBuilder::ball(rad),
// Rounded cylinders are much more efficient that cylinder, even if the
// rounding margin is small.
// 2 => ColliderBuilder::round_cylinder(rad, rad, rad / 10.0),
// 3 => ColliderBuilder::cone(rad, rad),
2 => ColliderBuilder::round_cylinder(rad, rad, rad / 10.0),
3 => ColliderBuilder::cone(rad, rad),
_ => ColliderBuilder::capsule_y(rad, rad),
};