diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-10-27 10:54:07 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-10-27 10:54:07 +0100 |
| commit | 49779e6c757285e91cf5b5daf123f00959408521 (patch) | |
| tree | a23a2b561a2c64f602811dd0c8d8a15e2dabfa80 /src | |
| parent | b5a1aaa4e5267da0f8b5b5fabb61d39cdb0e7a4e (diff) | |
| download | rapier-49779e6c757285e91cf5b5daf123f00959408521.tar.gz rapier-49779e6c757285e91cf5b5daf123f00959408521.tar.bz2 rapier-49779e6c757285e91cf5b5daf123f00959408521.zip | |
Add missing comment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynamics/rigid_body.rs | 2 | ||||
| -rw-r--r-- | src/geometry/collider.rs | 1 |
2 files changed, 2 insertions, 1 deletions
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, } |
