aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmil Ernerfeldt <emil.ernerfeldt@gmail.com>2021-03-08 10:04:21 +0100
committerGitHub <noreply@github.com>2021-03-08 10:04:21 +0100
commit22a402983cf26c2d937ee910508f448d434e9825 (patch)
treeb630683fb02e35cbc987f68208e0cf7230ee6c31 /src
parent51542331761e20fcc6ad6b9c11eaf3dad0ac9632 (diff)
downloadrapier-22a402983cf26c2d937ee910508f448d434e9825.tar.gz
rapier-22a402983cf26c2d937ee910508f448d434e9825.tar.bz2
rapier-22a402983cf26c2d937ee910508f448d434e9825.zip
docstring/spelling
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
Diffstat (limited to 'src')
-rw-r--r--src/geometry/collider.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs
index 0d42a05..78a6668 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -513,6 +513,7 @@ impl ColliderBuilder {
}
/// Sets the mass properties of the collider this builder will build.
+ ///
/// If this is set, [`Self::density`] will be ignored, so it only makes sense to call
/// either [`Self::density`] or [`Self::mass_properties`].
pub fn mass_properties(mut self, mass_properties: MassProperties) -> Self {