aboutsummaryrefslogtreecommitdiff
path: root/examples2d/all_examples2.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-02-23 15:49:23 +0100
committerCrozet Sébastien <developer@crozet.re>2021-02-23 15:49:23 +0100
commitbabcab0bed23fadd23181ccc58aae34fb80d01d8 (patch)
treedcdb17f061860a93873659c55f029a8fbf5cbccc /examples2d/all_examples2.rs
parentf8bf96fdc8a0cfd7324d589736d41057a6c1bfe8 (diff)
downloadrapier-babcab0bed23fadd23181ccc58aae34fb80d01d8.tar.gz
rapier-babcab0bed23fadd23181ccc58aae34fb80d01d8.tar.bz2
rapier-babcab0bed23fadd23181ccc58aae34fb80d01d8.zip
Update the testbed to use PhysicsHooks.
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 5040c8a..f4430aa 100644
--- a/examples2d/all_examples2.rs
+++ b/examples2d/all_examples2.rs
@@ -18,6 +18,7 @@ mod debug_box_ball2;
mod heightfield2;
mod joints2;
mod locked_rotations2;
+mod one_way_platforms2;
mod platform2;
mod polyline2;
mod pyramid2;
@@ -65,6 +66,7 @@ pub fn main() {
("Heightfield", heightfield2::init_world),
("Joints", joints2::init_world),
("Locked rotations", locked_rotations2::init_world),
+ ("One-way platforms", one_way_platforms2::init_world),
("Platform", platform2::init_world),
("Polyline", polyline2::init_world),
("Pyramid", pyramid2::init_world),