aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMrGunflame <mrgunflame@protonmail.com>2023-03-30 17:15:43 +0200
committerMrGunflame <mrgunflame@protonmail.com>2023-03-30 17:15:43 +0200
commit6d721929557ff855ded2a88275bc5c3f6da115eb (patch)
tree2cb1744a1cd35b4899af1225b70409650a2572bb /src
parent86185fbe88f9231093a1791bb13b6bc0c86cb271 (diff)
downloadrapier-6d721929557ff855ded2a88275bc5c3f6da115eb.tar.gz
rapier-6d721929557ff855ded2a88275bc5c3f6da115eb.tar.bz2
rapier-6d721929557ff855ded2a88275bc5c3f6da115eb.zip
Fix doc-links for `ColliderBuilder` and `RigidBodyBuilder`
Diffstat (limited to 'src')
-rw-r--r--src/dynamics/rigid_body.rs2
-rw-r--r--src/geometry/collider.rs2
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,