diff options
| author | Thierry Berger <contact@thierryberger.com> | 2024-07-12 16:29:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 16:29:22 +0200 |
| commit | 01dd2001525850ef0d66374c69e98e1560cb6421 (patch) | |
| tree | 5901b3c00d9ffc53a9af34e0023241eff256c8bc /src/dynamics/integration_parameters.rs | |
| parent | 87ada34008f4a1a313ccf8c3040040bab4f10e69 (diff) | |
| download | rapier-01dd2001525850ef0d66374c69e98e1560cb6421.tar.gz rapier-01dd2001525850ef0d66374c69e98e1560cb6421.tar.bz2 rapier-01dd2001525850ef0d66374c69e98e1560cb6421.zip | |
ci: cargo doc step (#671)
Diffstat (limited to 'src/dynamics/integration_parameters.rs')
| -rw-r--r-- | src/dynamics/integration_parameters.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dynamics/integration_parameters.rs b/src/dynamics/integration_parameters.rs index f475fd4..99b6fe4 100644 --- a/src/dynamics/integration_parameters.rs +++ b/src/dynamics/integration_parameters.rs @@ -2,6 +2,9 @@ use crate::math::Real; use na::RealField; use std::num::NonZeroUsize; +#[cfg(doc)] +use super::RigidBodyActivation; + // TODO: enabling the block solver in 3d introduces a lot of jitters in // the 3D domino demo. So for now we dont enable it in 3D. pub(crate) static BLOCK_SOLVER_ENABLED: bool = cfg!(feature = "dim2"); @@ -66,7 +69,7 @@ pub struct IntegrationParameters { /// This value is used internally to estimate some length-based tolerance. In particular, the /// values [`IntegrationParameters::allowed_linear_error`], /// [`IntegrationParameters::max_corrective_velocity`], - /// [`IntegrationParameters::prediction_distance`], [`RigidBodyActivation::linear_threshold`] + /// [`IntegrationParameters::prediction_distance`], [`RigidBodyActivation::normalized_linear_threshold`] /// are scaled by this value implicitly. /// /// This value can be understood as the number of units-per-meter in your physical world compared |
