aboutsummaryrefslogtreecommitdiff
path: root/examples2d/all_examples2.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-01-06 18:09:12 +0100
committerCrozet Sébastien <developer@crozet.re>2021-01-06 18:09:12 +0100
commitcc60809afca7137bc192d56734ce12b385c32eda (patch)
tree6a3ca7515e2d584828f0ca64113250b6c0a5ebab /examples2d/all_examples2.rs
parent261ed1ebed04fb594f612b66811350f63b73f104 (diff)
downloadrapier-cc60809afca7137bc192d56734ce12b385c32eda.tar.gz
rapier-cc60809afca7137bc192d56734ce12b385c32eda.tar.bz2
rapier-cc60809afca7137bc192d56734ce12b385c32eda.zip
Add 2D trimesh example.
Diffstat (limited to 'examples2d/all_examples2.rs')
-rw-r--r--examples2d/all_examples2.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples2d/all_examples2.rs b/examples2d/all_examples2.rs
index d6cf947..e0b6631 100644
--- a/examples2d/all_examples2.rs
+++ b/examples2d/all_examples2.rs
@@ -21,6 +21,7 @@ mod platform2;
mod pyramid2;
mod restitution2;
mod sensor2;
+mod trimesh2;
fn demo_name_from_command_line() -> Option<String> {
let mut args = std::env::args();
@@ -65,6 +66,7 @@ pub fn main() {
("Pyramid", pyramid2::init_world),
("Restitution", restitution2::init_world),
("Sensor", sensor2::init_world),
+ ("Trimesh", trimesh2::init_world),
("(Debug) box ball", debug_box_ball2::init_world),
];