diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-07-04 16:53:38 +0200 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2022-07-04 16:53:38 +0200 |
| commit | 145ab3013e50b0db2e0a019dc57f5fdccd4cbe59 (patch) | |
| tree | b7551f3f2f6e633f4524460ad9080376cd92e4fc /src/geometry/mod.rs | |
| parent | 6f8fddc70c0acda93b606f9f2f5a56ade5d6adf0 (diff) | |
| download | rapier-145ab3013e50b0db2e0a019dc57f5fdccd4cbe59.tar.gz rapier-145ab3013e50b0db2e0a019dc57f5fdccd4cbe59.tar.bz2 rapier-145ab3013e50b0db2e0a019dc57f5fdccd4cbe59.zip | |
Fix the max_force_direction magnitude
Diffstat (limited to 'src/geometry/mod.rs')
| -rw-r--r-- | src/geometry/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/geometry/mod.rs b/src/geometry/mod.rs index ddb161e..a765b3f 100644 --- a/src/geometry/mod.rs +++ b/src/geometry/mod.rs @@ -170,7 +170,6 @@ impl ContactForceEvent { // because it’s an input of this function already // assumed to be a force instead of an impulse. result.total_force *= inv_dt; - result.max_force_direction *= inv_dt; result.max_force_magnitude *= inv_dt; result } |
