diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-09-28 10:19:49 +0200 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-09-28 10:24:42 +0200 |
| commit | e7466e2f6923d24e987a34f8ebaf839346af8d4e (patch) | |
| tree | fa25c9c94bf4cd18a84f1a8c2bea327cd875af5f /examples2d/all_examples2.rs | |
| parent | 0829ed10ac33bd3697fe2f92dd6b8f55df1094b4 (diff) | |
| download | rapier-e7466e2f6923d24e987a34f8ebaf839346af8d4e.tar.gz rapier-e7466e2f6923d24e987a34f8ebaf839346af8d4e.tar.bz2 rapier-e7466e2f6923d24e987a34f8ebaf839346af8d4e.zip | |
Move 2D benchmarks into their own directory/crate.
Diffstat (limited to 'examples2d/all_examples2.rs')
| -rw-r--r-- | examples2d/all_examples2.rs | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/examples2d/all_examples2.rs b/examples2d/all_examples2.rs index 836dcbc..0ebef88 100644 --- a/examples2d/all_examples2.rs +++ b/examples2d/all_examples2.rs @@ -11,18 +11,12 @@ use rapier_testbed2d::Testbed; use std::cmp::Ordering; mod add_remove2; -mod balls2; -mod boxes2; -mod capsules2; mod debug_box_ball2; mod heightfield2; mod joints2; -mod kinematic2; +mod platform2; mod pyramid2; mod sensor2; -mod stress_joint_ball2; -mod stress_joint_fixed2; -mod stress_joint_prismatic2; fn demo_name_from_command_line() -> Option<String> { let mut args = std::env::args(); @@ -58,21 +52,12 @@ pub fn main() { let mut builders: Vec<(_, fn(&mut Testbed))> = vec![ ("Add remove", add_remove2::init_world), - ("Balls", balls2::init_world), - ("Boxes", boxes2::init_world), - ("Capsules", capsules2::init_world), ("Heightfield", heightfield2::init_world), ("Joints", joints2::init_world), - ("Kinematic", kinematic2::init_world), + ("Platform", platform2::init_world), ("Pyramid", pyramid2::init_world), ("Sensor", sensor2::init_world), ("(Debug) box ball", debug_box_ball2::init_world), - ("(Stress test) joint ball", stress_joint_ball2::init_world), - ("(Stress test) joint fixed", stress_joint_fixed2::init_world), - ( - "(Stress test) joint prismatic", - stress_joint_prismatic2::init_world, - ), ]; // Lexicographic sort, with stress tests moved at the end of the list. |
