aboutsummaryrefslogtreecommitdiff
path: root/examples2d/all_examples2.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-11-30 15:41:32 +0100
committerCrozet Sébastien <developer@crozet.re>2020-11-30 15:41:32 +0100
commit1e0f76b02c3766f2f1b5bd6b7362c0c993ffee67 (patch)
tree8bdad3f6e1a18b17b1d7898f64052927138bd4d4 /examples2d/all_examples2.rs
parent715d0fe16eb8ca9df90ff161ade4bf809a780043 (diff)
downloadrapier-1e0f76b02c3766f2f1b5bd6b7362c0c993ffee67.tar.gz
rapier-1e0f76b02c3766f2f1b5bd6b7362c0c993ffee67.tar.bz2
rapier-1e0f76b02c3766f2f1b5bd6b7362c0c993ffee67.zip
Add a 2D demo for locking rotation.
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 92606d8..dda50d6 100644
--- a/examples2d/all_examples2.rs
+++ b/examples2d/all_examples2.rs
@@ -16,6 +16,7 @@ mod damping2;
mod debug_box_ball2;
mod heightfield2;
mod joints2;
+mod locked_rotation2;
mod platform2;
mod pyramid2;
mod restitution2;
@@ -59,6 +60,7 @@ pub fn main() {
("Damping", damping2::init_world),
("Heightfield", heightfield2::init_world),
("Joints", joints2::init_world),
+ ("Locked rotations", locked_rotation2::init_world),
("Platform", platform2::init_world),
("Pyramid", pyramid2::init_world),
("Restitution", restitution2::init_world),