Fix doc-links for ColliderBuilder and RigidBodyBuilder
This commit is contained in:
@@ -13,7 +13,7 @@ use num::Zero;
|
|||||||
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
||||||
/// A rigid body.
|
/// 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)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct RigidBody {
|
pub struct RigidBody {
|
||||||
pub(crate) pos: RigidBodyPosition,
|
pub(crate) pos: RigidBodyPosition,
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ use parry::shape::{Shape, TriMeshFlags};
|
|||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
/// A geometric entity that can be attached to a body so it can be affected by contacts and proximity queries.
|
/// 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 struct Collider {
|
||||||
pub(crate) coll_type: ColliderType,
|
pub(crate) coll_type: ColliderType,
|
||||||
pub(crate) shape: ColliderShape,
|
pub(crate) shape: ColliderShape,
|
||||||
|
|||||||
Reference in New Issue
Block a user