Fix some typos. (#620)
This commit is contained in:
@@ -443,7 +443,7 @@ impl RigidBody {
|
||||
self.ccd.ccd_enabled = enabled;
|
||||
}
|
||||
|
||||
/// Is CCD (continous collision-detection) enabled for this rigid-body?
|
||||
/// Is CCD (continuous collision-detection) enabled for this rigid-body?
|
||||
pub fn is_ccd_enabled(&self) -> bool {
|
||||
self.ccd.ccd_enabled
|
||||
}
|
||||
|
||||
@@ -595,7 +595,7 @@ impl RigidBodyVelocity {
|
||||
}
|
||||
|
||||
/// Integrate the velocities in `self` to compute obtain new positions when moving from the given
|
||||
/// inital position `init_pos`.
|
||||
/// initial position `init_pos`.
|
||||
#[must_use]
|
||||
pub fn integrate(
|
||||
&self,
|
||||
|
||||
@@ -209,7 +209,7 @@ impl RigidBodySet {
|
||||
/// Update colliders positions after rigid-bodies moved.
|
||||
///
|
||||
/// When a rigid-body moves, the positions of the colliders attached to it need to be updated.
|
||||
/// This update is generally automatically done at the beggining and the end of each simulation
|
||||
/// This update is generally automatically done at the beginning and the end of each simulation
|
||||
/// step with `PhysicsPipeline::step`. If the positions need to be updated without running a
|
||||
/// simulation step (for example when using the `QueryPipeline` alone), this method can be called
|
||||
/// manually.
|
||||
|
||||
@@ -96,7 +96,7 @@ impl<Constraints: ConstraintTypes> SolverConstraintsSet<Constraints> {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)] // Useful for debuging.
|
||||
#[allow(dead_code)] // Useful for debugging.
|
||||
pub fn print_counts(&self) {
|
||||
println!("Solver constraints:");
|
||||
println!(
|
||||
|
||||
Reference in New Issue
Block a user