diff options
| author | Sébastien Crozet <developer@crozet.re> | 2020-11-26 13:26:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-26 13:26:07 +0100 |
| commit | 51b7bf9a529175d0c6ec42775f11f16bd7fe719a (patch) | |
| tree | 68795351e593d961c119a86335fbba3e301da528 /examples3d/platform3.rs | |
| parent | bdf2e15fdcff4c4757b4875354b2d6e8b9c6939d (diff) | |
| parent | 340f614d32fbf32b48a63d1c381da67eec97b05d (diff) | |
| download | rapier-51b7bf9a529175d0c6ec42775f11f16bd7fe719a.tar.gz rapier-51b7bf9a529175d0c6ec42775f11f16bd7fe719a.tar.bz2 rapier-51b7bf9a529175d0c6ec42775f11f16bd7fe719a.zip | |
Merge pull request #69 from dimforge/rigid_body_modifications
Track some user-initiated rigid-body modifications
Diffstat (limited to 'examples3d/platform3.rs')
| -rw-r--r-- | examples3d/platform3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3d/platform3.rs b/examples3d/platform3.rs index 0843300..0975f39 100644 --- a/examples3d/platform3.rs +++ b/examples3d/platform3.rs @@ -71,7 +71,7 @@ pub fn init_world(testbed: &mut Testbed) { return; } - if let Some(mut platform) = physics.bodies.get_mut(platform_handle) { + if let Some(platform) = physics.bodies.get_mut(platform_handle) { let mut next_pos = *platform.position(); let dt = 0.016; |
