X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Farc.cpp;h=36245b43dc70a2f3cdf160ca80155384bfcddfe2;hb=4d6ba8a6eb781dbee818b6a55d21df7b52468936;hp=e4a6b6f4788de7b89f1196fa75a8018217fad421;hpb=9590e4ed45fd4e05eccc16bd8e9d51596aea5a6d;p=architektonas diff --git a/src/arc.cpp b/src/arc.cpp index e4a6b6f..36245b4 100644 --- a/src/arc.cpp +++ b/src/arc.cpp @@ -302,7 +302,8 @@ This vector is already unitized, so all we need to do to get our point is to multiply it by radius (to get the length correct) and add it to the center point (to get the correct position). */ - Vector v1(point, position); // Head minus tail (vector points at "point") +// Vector v1(point, position); // Head minus tail (vector points at "point") + Vector v1(position, point); // Head minus tail (vector points at "point") Point p1(cos(startAngle), sin(startAngle)); Point p2(cos(startAngle + angleSpan), sin(startAngle + angleSpan)); Vector handle2 = (p1 * radius) + position;