Rename reset_internal_links -> reset_internal_references.

This commit is contained in:
Crozet Sébastien
2020-11-03 14:45:50 +01:00
parent 0cf59d78bd
commit c6af248e66
4 changed files with 4 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ impl RigidBodySet {
pub fn insert(&mut self, mut rb: RigidBody) -> RigidBodyHandle {
// Make sure the internal links are reset, they may not be
// if this rigid-body was obtained by cloning another one.
rb.reset_internal_links();
rb.reset_internal_references();
let handle = self.bodies.insert(rb);
let rb = &mut self.bodies[handle];