aboutsummaryrefslogtreecommitdiff
path: root/examples2d/all_examples2.rs
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2020-11-30 15:55:54 +0100
committerGitHub <noreply@github.com>2020-11-30 15:55:54 +0100
commitab7fdb5f4e5b67ab757e9d5135ab62abfd001846 (patch)
tree8bdad3f6e1a18b17b1d7898f64052927138bd4d4 /examples2d/all_examples2.rs
parentc9ac149b17622f4267bf9a1fcea9cf80ffbbfd2c (diff)
parent1e0f76b02c3766f2f1b5bd6b7362c0c993ffee67 (diff)
downloadrapier-ab7fdb5f4e5b67ab757e9d5135ab62abfd001846.tar.gz
rapier-ab7fdb5f4e5b67ab757e9d5135ab62abfd001846.tar.bz2
rapier-ab7fdb5f4e5b67ab757e9d5135ab62abfd001846.zip
Merge pull request #70 from dimforge/lock_rotations
Add a more convenient way of locking the rotations (or translations) of a rigid-body
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),