aboutsummaryrefslogtreecommitdiff
path: root/examples2d
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-12-01 15:04:30 +0100
committerCrozet Sébastien <developer@crozet.re>2020-12-01 15:07:04 +0100
commita072d4056a51c2965c598efcb35459f01796ea18 (patch)
tree5dbf8b9865fef8009f63446f15c84fc708f351c6 /examples2d
parent29d4814266a2c8cd82beea8e63226157aca675fc (diff)
downloadrapier-a072d4056a51c2965c598efcb35459f01796ea18.tar.gz
rapier-a072d4056a51c2965c598efcb35459f01796ea18.tar.bz2
rapier-a072d4056a51c2965c598efcb35459f01796ea18.zip
Rename RigidBodyBuilder::principal_inertia -> principal_angular_inertia for clarity.
Diffstat (limited to 'examples2d')
-rw-r--r--examples2d/all_examples2.rs4
-rw-r--r--examples2d/locked_rotations2.rs (renamed from examples2d/locked_rotation2.rs)0
2 files changed, 2 insertions, 2 deletions
diff --git a/examples2d/all_examples2.rs b/examples2d/all_examples2.rs
index dda50d6..d6cf947 100644
--- a/examples2d/all_examples2.rs
+++ b/examples2d/all_examples2.rs
@@ -16,7 +16,7 @@ mod damping2;
mod debug_box_ball2;
mod heightfield2;
mod joints2;
-mod locked_rotation2;
+mod locked_rotations2;
mod platform2;
mod pyramid2;
mod restitution2;
@@ -60,7 +60,7 @@ pub fn main() {
("Damping", damping2::init_world),
("Heightfield", heightfield2::init_world),
("Joints", joints2::init_world),
- ("Locked rotations", locked_rotation2::init_world),
+ ("Locked rotations", locked_rotations2::init_world),
("Platform", platform2::init_world),
("Pyramid", pyramid2::init_world),
("Restitution", restitution2::init_world),
diff --git a/examples2d/locked_rotation2.rs b/examples2d/locked_rotations2.rs
index f3d7fc2..f3d7fc2 100644
--- a/examples2d/locked_rotation2.rs
+++ b/examples2d/locked_rotations2.rs