diff options
| author | Sébastien Crozet <developer@crozet.re> | 2023-04-02 12:01:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-02 12:01:28 +0200 |
| commit | 89e3d7650c84f96893376a79cbc120aeaeb74785 (patch) | |
| tree | 2cb1744a1cd35b4899af1225b70409650a2572bb | |
| parent | 86185fbe88f9231093a1791bb13b6bc0c86cb271 (diff) | |
| parent | 6d721929557ff855ded2a88275bc5c3f6da115eb (diff) | |
| download | rapier-89e3d7650c84f96893376a79cbc120aeaeb74785.tar.gz rapier-89e3d7650c84f96893376a79cbc120aeaeb74785.tar.bz2 rapier-89e3d7650c84f96893376a79cbc120aeaeb74785.zip | |
Merge pull request #476 from MrGunflame/builder-docrefs
Fix doc-links for `ColliderBuilder` and `RigidBodyBuilder`
| -rw-r--r-- | src/dynamics/rigid_body.rs | 2 | ||||
| -rw-r--r-- | src/geometry/collider.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamics/rigid_body.rs b/src/dynamics/rigid_body.rs index f6c954f..97974d9 100644 --- a/src/dynamics/rigid_body.rs +++ b/src/dynamics/rigid_body.rs @@ -13,7 +13,7 @@ use num::Zero; #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] /// A rigid body. /// -/// To create a new rigid-body, use the `RigidBodyBuilder` structure. +/// To create a new rigid-body, use the [`RigidBodyBuilder`] structure. #[derive(Debug, Clone)] pub struct RigidBody { pub(crate) pos: RigidBodyPosition, diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index 6759b81..7556eb8 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -16,7 +16,7 @@ use parry::shape::{Shape, TriMeshFlags}; #[derive(Clone)] /// A geometric entity that can be attached to a body so it can be affected by contacts and proximity queries. /// -/// To build a new collider, use the `ColliderBuilder` structure. +/// To build a new collider, use the [`ColliderBuilder`] structure. pub struct Collider { pub(crate) coll_type: ColliderType, pub(crate) shape: ColliderShape, |
