ci: cargo doc step (#671)

This commit is contained in:
Thierry Berger
2024-07-12 16:29:22 +02:00
committed by GitHub
parent 87ada34008
commit 01dd200152
14 changed files with 189 additions and 66 deletions

View File

@@ -622,8 +622,9 @@ impl ColliderBuilder {
/// Initialize a new collider builder with a capsule defined from its endpoints.
///
/// See also [`ColliderBuilder::capsule_x`], [`ColliderBuilder::capsule_y`], and
/// [`ColliderBuilder::capsule_z`], for a simpler way to build capsules with common
/// See also [`ColliderBuilder::capsule_x`], [`ColliderBuilder::capsule_y`],
/// (and `ColliderBuilder::capsule_z` in 3D only)
/// for a simpler way to build capsules with common
/// orientations.
pub fn capsule_from_endpoints(a: Point<Real>, b: Point<Real>, radius: Real) -> Self {
Self::new(SharedShape::capsule(a, b, radius))