aboutsummaryrefslogtreecommitdiff
path: root/examples2d/all_examples2.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-01-26 16:41:21 +0100
committerCrozet Sébastien <developer@crozet.re>2021-01-26 16:41:21 +0100
commit23a86c294e48da9c3aad82284a09791aabfeb88d (patch)
treec4adf2ccf4703ef103247f5035838f4071bf8c7c /examples2d/all_examples2.rs
parente1f50eb6e8daa9529e41f7044e67736cc5c50953 (diff)
downloadrapier-23a86c294e48da9c3aad82284a09791aabfeb88d.tar.gz
rapier-23a86c294e48da9c3aad82284a09791aabfeb88d.tar.bz2
rapier-23a86c294e48da9c3aad82284a09791aabfeb88d.zip
Allow using polylines as a collider shape.
Diffstat (limited to 'examples2d/all_examples2.rs')
-rw-r--r--examples2d/all_examples2.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples2d/all_examples2.rs b/examples2d/all_examples2.rs
index e0b6631..5040c8a 100644
--- a/examples2d/all_examples2.rs
+++ b/examples2d/all_examples2.rs
@@ -12,12 +12,14 @@ use std::cmp::Ordering;
mod add_remove2;
mod collision_groups2;
+mod convex_polygons2;
mod damping2;
mod debug_box_ball2;
mod heightfield2;
mod joints2;
mod locked_rotations2;
mod platform2;
+mod polyline2;
mod pyramid2;
mod restitution2;
mod sensor2;
@@ -58,11 +60,13 @@ pub fn main() {
let mut builders: Vec<(_, fn(&mut Testbed))> = vec![
("Add remove", add_remove2::init_world),
("Collision groups", collision_groups2::init_world),
+ ("Convex polygons", convex_polygons2::init_world),
("Damping", damping2::init_world),
("Heightfield", heightfield2::init_world),
("Joints", joints2::init_world),
("Locked rotations", locked_rotations2::init_world),
("Platform", platform2::init_world),
+ ("Polyline", polyline2::init_world),
("Pyramid", pyramid2::init_world),
("Restitution", restitution2::init_world),
("Sensor", sensor2::init_world),