diff --git a/graph.c b/graph.c index fb909df4..a363d992 100644 --- a/graph.c +++ b/graph.c @@ -5197,17 +5197,21 @@ void Tracer_rectangle_degrade(short RAX,short RAY,short RBX,short RBY,short VAX, Degrade_Intervalle_total = sqrt(pow(VBY - VAY,2)+pow(VBX - VAX,2)); short a = (VBY - VAY)/(VBX - VAX); - short b = a * VAX - VAY; + short b = VAY - a*VAX; short Distance_X, Distance_Y; + DEBUG("inttotal",Degrade_Intervalle_total); + for (Pos_Y=RAY;Pos_Y