From d6dcaef19a6a5f857a6e334d3e7dbc06f89f3695 Mon Sep 17 00:00:00 2001 From: ribet Date: Thu, 24 May 2007 12:10:06 +0000 Subject: Amélioration de la lisibilité. --- src/MTools/Anim/MPath.pm | 4 ++-- 1 file 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; } } -- cgit v1.1