aboutsummaryrefslogtreecommitdiff
path: root/src/MTools/Anim
diff options
context:
space:
mode:
authorribet2007-05-24 12:10:06 +0000
committerribet2007-05-24 12:10:06 +0000
commitd6dcaef19a6a5f857a6e334d3e7dbc06f89f3695 (patch)
treea9d981ad3b2a39671d3e078ee1e50506c37a9573 /src/MTools/Anim
parente1578817b3b46392eff728ff7d28878e7f92ef66 (diff)
downloadmtc-d6dcaef19a6a5f857a6e334d3e7dbc06f89f3695.zip
mtc-d6dcaef19a6a5f857a6e334d3e7dbc06f89f3695.tar.gz
mtc-d6dcaef19a6a5f857a6e334d3e7dbc06f89f3695.tar.bz2
mtc-d6dcaef19a6a5f857a6e334d3e7dbc06f89f3695.tar.xz
Amélioration de la lisibilité.
Diffstat (limited to 'src/MTools/Anim')
-rw-r--r--src/MTools/Anim/MPath.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MTools/Anim/MPath.pm b/src/MTools/Anim/MPath.pm
index db9c9b4..cfb87d0 100644
--- a/src/MTools/Anim/MPath.pm
+++ b/src/MTools/Anim/MPath.pm
@@ -154,8 +154,8 @@ sub __getPoint {
if ($length <= 0)
{
$d = ($d + $length) / $d;
- $x = $d * $x + $points [$i] -> [0];
- $y = $d * $y + $points [$i] -> [1];
+ $x = $d * $vx + $points [$i] -> [0];
+ $y = $d * $vy + $points [$i] -> [1];
$i = @points;
}
}