diff options
Diffstat (limited to 'examples3d/all_examples3.rs')
| -rw-r--r-- | examples3d/all_examples3.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/examples3d/all_examples3.rs b/examples3d/all_examples3.rs index 2611a2f..f587da3 100644 --- a/examples3d/all_examples3.rs +++ b/examples3d/all_examples3.rs @@ -7,7 +7,7 @@ use wasm_bindgen::prelude::*; use inflector::Inflector; -use rapier_testbed3d::Testbed; +use rapier_testbed3d::{Testbed, TestbedApp}; use std::cmp::Ordering; mod ccd3; @@ -25,6 +25,7 @@ mod debug_friction3; mod debug_infinite_fall3; mod debug_prismatic3; mod debug_rollback3; +mod debug_shape_modification3; mod debug_triangle3; mod debug_trimesh3; mod domino3; @@ -112,6 +113,10 @@ pub fn main() { ("(Debug) infinite fall", debug_infinite_fall3::init_world), ("(Debug) prismatic", debug_prismatic3::init_world), ("(Debug) rollback", debug_rollback3::init_world), + ( + "(Debug) shape modification", + debug_shape_modification3::init_world, + ), ]; // Lexicographic sort, with stress tests moved at the end of the list. @@ -126,7 +131,6 @@ pub fn main() { .position(|builder| builder.0.to_camel_case().as_str() == demo.as_str()) .unwrap_or(0); - let testbed = Testbed::from_builders(i, builders); - + let testbed = TestbedApp::from_builders(i, builders); testbed.run() } |
