aboutsummaryrefslogtreecommitdiff
path: root/examples2d/all_examples2.rs
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2020-09-28 10:58:35 +0200
committerGitHub <noreply@github.com>2020-09-28 10:58:35 +0200
commit90dffc59ed45e5b95c2a40699cb91d285a206e0e (patch)
treefa25c9c94bf4cd18a84f1a8c2bea327cd875af5f /examples2d/all_examples2.rs
parent3080c6e7d2e7bad0ac55095ccc24b1ac8bd5449a (diff)
parente7466e2f6923d24e987a34f8ebaf839346af8d4e (diff)
downloadrapier-90dffc59ed45e5b95c2a40699cb91d285a206e0e.tar.gz
rapier-90dffc59ed45e5b95c2a40699cb91d285a206e0e.tar.bz2
rapier-90dffc59ed45e5b95c2a40699cb91d285a206e0e.zip
Merge pull request #20 from dimforge/benchbot
Split benchmarks from examples
Diffstat (limited to 'examples2d/all_examples2.rs')
-rw-r--r--examples2d/all_examples2.rs19
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.