Skip to content

Commit

Permalink
Fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
Jondolf committed Dec 7, 2024
1 parent 15bc591 commit a92ed7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/dynamics/solver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ use self::{
///
/// 1. [Generate and prepare constraints](collision::narrow_phase::NarrowPhaseSet::GenerateConstraints)
/// 2. Substepping loop (runs the [`SubstepSchedule`] [`SubstepCount`] times)
/// 1. [Integrate velocities](IntegrationSet::Velocity)
/// 1. [Integrate velocities](super::integrator::IntegrationSet::Velocity)
/// 2. [Warm start](SubstepSolverSet::WarmStart)
/// 3. [Solve constraints with bias](SubstepSolverSet::SolveConstraints)
/// 4. [Integrate positions](IntegrationSet::Position)
/// 4. [Integrate positions](super::integrator::IntegrationSet::Position)
/// 5. [Solve constraints without bias to relax velocities](SubstepSolverSet::Relax)
/// 6. [Solve XPBD constraints (joints)](SubstepSolverSet::SolveXpbdConstraints)
/// 7. [Solve user-defined constraints](SubstepSolverSet::SolveUserConstraints)
Expand Down
2 changes: 2 additions & 0 deletions src/dynamics/solver/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ pub enum SolverSet {
ApplyTranslation,
/// Copies contact impulses from [`ContactConstraints`] to the contacts in [`Collisions`].
/// They will be used for [warm starting](SubstepSolverSet::WarmStart) the next frame or substep.
///
/// [`ContactConstraints`]: super::ContactConstraints
StoreContactImpulses,
}

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
//! - [`PhysicsSet`]
//! - [`PhysicsSchedule`] and [`PhysicsStepSet`]
//! - [`SubstepSchedule`]
//! - [`SolverSet`] and [`SubstepSolverSet`](dynamics::solver::SubstepSolverSet)
//! - [`SolverSet`] and [`SubstepSolverSet`](dynamics::solver::schedule::SubstepSolverSet)
//! - [`PostProcessCollisions`] schedule
//! - [`PrepareSet`](prepare::PrepareSet)
//! - Many more internal system sets
Expand Down Expand Up @@ -615,7 +615,7 @@ use prelude::*;
///
/// First, create a new plugin. If you want to run your systems in the engine's schedules, get either the [`PhysicsSchedule`]
/// or the [`SubstepSchedule`]. Then you can add your systems to that schedule and control system ordering with system sets like
/// [`PhysicsStepSet`], [`SolverSet`], or [`SubstepSolverSet`](dynamics::solver::SubstepSolverSet).
/// [`PhysicsStepSet`], [`SolverSet`], or [`SubstepSolverSet`](dynamics::solver::schedule::SubstepSolverSet).
///
/// Here we will create a custom broad phase plugin that will replace the default [`BroadPhasePlugin`]:
///
Expand Down

0 comments on commit a92ed7b

Please sign in to comment.