Rename reset_internal_links -> reset_internal_references.
This commit is contained in:
@@ -214,7 +214,7 @@ pub struct Collider {
|
||||
}
|
||||
|
||||
impl Collider {
|
||||
pub(crate) fn reset_internal_links(&mut self) {
|
||||
pub(crate) fn reset_internal_references(&mut self) {
|
||||
self.parent = RigidBodySet::invalid_handle();
|
||||
self.contact_graph_index = ColliderGraphIndex::new(crate::INVALID_U32);
|
||||
self.proximity_graph_index = ColliderGraphIndex::new(crate::INVALID_U32);
|
||||
|
||||
@@ -62,7 +62,7 @@ impl ColliderSet {
|
||||
) -> ColliderHandle {
|
||||
// Make sure the internal links are reset, they may not be
|
||||
// if this rigid-body was obtained by cloning another one.
|
||||
coll.reset_internal_links();
|
||||
coll.reset_internal_references();
|
||||
|
||||
coll.parent = parent_handle;
|
||||
let parent = bodies
|
||||
|
||||
Reference in New Issue
Block a user