aboutsummaryrefslogtreecommitdiff
path: root/examples3d/all_examples3.rs
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2020-09-06 12:16:09 +0200
committerSébastien Crozet <developer@crozet.re>2020-09-06 12:16:22 +0200
commitff2da7fb27f0ea7a15b1dc6b6daf763fe7faf13b (patch)
tree76578c4a2ff16592b98eea9cbd9c9b07646240a4 /examples3d/all_examples3.rs
parent3080c6e7d2e7bad0ac55095ccc24b1ac8bd5449a (diff)
downloadrapier-ff2da7fb27f0ea7a15b1dc6b6daf763fe7faf13b.tar.gz
rapier-ff2da7fb27f0ea7a15b1dc6b6daf763fe7faf13b.tar.bz2
rapier-ff2da7fb27f0ea7a15b1dc6b6daf763fe7faf13b.zip
Move benchmark demos into their own directory.
Diffstat (limited to 'examples3d/all_examples3.rs')
-rw-r--r--examples3d/all_examples3.rs32
1 files changed, 6 insertions, 26 deletions
diff --git a/examples3d/all_examples3.rs b/examples3d/all_examples3.rs
index 2b89efa..8b0a2fa 100644
--- a/examples3d/all_examples3.rs
+++ b/examples3d/all_examples3.rs
@@ -11,24 +11,17 @@ use rapier_testbed3d::Testbed;
use std::cmp::Ordering;
mod add_remove3;
-mod balls3;
-mod boxes3;
-mod capsules3;
mod compound3;
mod debug_boxes3;
mod debug_triangle3;
mod domino3;
mod heightfield3;
mod joints3;
-mod kinematic3;
-mod pyramid3;
+mod keva3;
+mod platform3;
+mod primitives3;
mod sensor3;
mod stacks3;
-mod stress_joint_ball3;
-mod stress_joint_fixed3;
-mod stress_joint_prismatic3;
-mod stress_joint_revolute3;
-mod stress_keva3;
mod trimesh3;
fn demo_name_from_command_line() -> Option<String> {
@@ -69,31 +62,18 @@ pub fn main() {
let mut builders: Vec<(_, fn(&mut Testbed))> = vec![
("Add remove", add_remove3::init_world),
- ("Balls", balls3::init_world),
- ("Boxes", boxes3::init_world),
- ("Capsules", capsules3::init_world),
+ ("Primitives", primitives3::init_world),
("Compound", compound3::init_world),
("Domino", domino3::init_world),
("Heightfield", heightfield3::init_world),
("Joints", joints3::init_world),
- ("Kinematic", kinematic3::init_world),
+ ("Platform", platform3::init_world),
("Stacks", stacks3::init_world),
- ("Pyramid", pyramid3::init_world),
("Sensor", sensor3::init_world),
("Trimesh", trimesh3::init_world),
+ ("Keva tower", keva3::init_world),
("(Debug) boxes", debug_boxes3::init_world),
("(Debug) triangle", debug_triangle3::init_world),
- ("(Stress test) joint ball", stress_joint_ball3::init_world),
- ("(Stress test) joint fixed", stress_joint_fixed3::init_world),
- (
- "(Stress test) joint revolute",
- stress_joint_revolute3::init_world,
- ),
- (
- "(Stress test) joint prismatic",
- stress_joint_prismatic3::init_world,
- ),
- ("(Stress test) keva tower", stress_keva3::init_world),
];
// Lexicographic sort, with stress tests moved at the end of the list.