From 49779e6c757285e91cf5b5daf123f00959408521 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Tue, 27 Oct 2020 10:54:07 +0100 Subject: Add missing comment. --- src/dynamics/rigid_body.rs | 2 +- src/geometry/collider.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/dynamics/rigid_body.rs b/src/dynamics/rigid_body.rs index f4d47ce..417ce34 100644 --- a/src/dynamics/rigid_body.rs +++ b/src/dynamics/rigid_body.rs @@ -54,7 +54,7 @@ pub struct RigidBody { pub(crate) active_set_timestamp: u32, /// The status of the body, governing how it is affected by external forces. pub body_status: BodyStatus, - /// User-defined associated to this rigid-body. + /// User-defined data associated to this rigid-body. pub user_data: u128, } diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index ad4f813..40b59ae 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -206,6 +206,7 @@ pub struct Collider { pub(crate) contact_graph_index: ColliderGraphIndex, pub(crate) proximity_graph_index: ColliderGraphIndex, pub(crate) proxy_index: usize, + /// User-defined data associated to this rigid-body. pub user_data: u128, } -- cgit