aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Ernerfeldt <emil.ernerfeldt@gmail.com>2021-03-08 10:04:28 +0100
committerGitHub <noreply@github.com>2021-03-08 10:04:28 +0100
commit05614dc471c785fbaefeae061458694695d7b948 (patch)
tree14911472c9e88c50788e942068b520b9e2523aef
parent22a402983cf26c2d937ee910508f448d434e9825 (diff)
downloadrapier-05614dc471c785fbaefeae061458694695d7b948.tar.gz
rapier-05614dc471c785fbaefeae061458694695d7b948.tar.bz2
rapier-05614dc471c785fbaefeae061458694695d7b948.zip
docstring/spelling
Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
-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 78a6668..23b62fa 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -505,6 +505,7 @@ impl ColliderBuilder {
}
/// Sets the uniform density of the collider this builder will build.
+ ///
/// This will be overridden by a call to [`Self::mass_properties`] so it only makes sense to call
/// either [`Self::density`] or [`Self::mass_properties`].
pub fn density(mut self, density: Real) -> Self {