diff options
author | ribet | 2008-03-17 13:53:08 +0000 |
---|---|---|
committer | ribet | 2008-03-17 13:53:08 +0000 |
commit | 2f279dbca6f54856ed9569573f325acb309130b8 (patch) | |
tree | c8277c36787200cf178afe172aa055fc0190c9a3 /src/MTools | |
parent | 928723fe191cd01e91c7eddf8bc73fc62f54c837 (diff) | |
download | mtc-2f279dbca6f54856ed9569573f325acb309130b8.zip mtc-2f279dbca6f54856ed9569573f325acb309130b8.tar.gz mtc-2f279dbca6f54856ed9569573f325acb309130b8.tar.bz2 mtc-2f279dbca6f54856ed9569573f325acb309130b8.tar.xz |
Modification du seuil pour un effet plus naturel lors de l'arret de l'inertie, les seuils sont abaissés
Diffstat (limited to 'src/MTools')
-rw-r--r-- | src/MTools/Comp/MInertie.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MTools/Comp/MInertie.pm b/src/MTools/Comp/MInertie.pm index 2faa1b9..c9cbbdd 100644 --- a/src/MTools/Comp/MInertie.pm +++ b/src/MTools/Comp/MInertie.pm @@ -138,7 +138,7 @@ sub inertie { my $rate = $self -> mget ('rate'); $self -> {__vx} *= $rate; $self -> {__vy} *= $rate; - if ((abs $self -> {__vx} <= 2) and (abs $self -> {__vy} <= 2)) { + if ((abs $self -> {__vx} <= 1) and (abs $self -> {__vy} <= 1)) { $self -> interrupt (); return; } |