Fri, 20 Dec 2013 18:22:24 +0200
corrected angle display
src/gldraw.cc | file | annotate | diff | comparison | revisions |
--- a/src/gldraw.cc Fri Dec 20 18:04:23 2013 +0200 +++ b/src/gldraw.cc Fri Dec 20 18:22:24 2013 +0200 @@ -649,7 +649,7 @@ if (gl_drawangles) { QLineF l0 (poly[h], poly[i]), l1 (poly[i], poly[j]); - double angle = l0.angleTo (l1); + double angle = 180 - l0.angleTo (l1); str label = str::number (angle) + str::fromUtf8 (QByteArray ("\302\260")); QPoint pos = poly[i]; pos.setY (pos.y() + metrics.height());