Merge pull request #476 from MrGunflame/builder-docrefs

Fix doc-links for `ColliderBuilder` and `RigidBodyBuilder`
This commit is contained in:
Sébastien Crozet
2023-04-02 12:01:28 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,