Commit 433c5ffd authored by h2b's avatar h2b

Comment added.

parent f01607c6
......@@ -68,6 +68,7 @@ case class PieChart (val weights: Double*)
val r2 = height(w)/2
val p0 = Point(0, 0)
var alpha = 0.0
//Lines are for arc drawing and do not disturb arc filling
for (a angles) {
w.activeColor =
w.draw(Line(p0, Point(r1*Math.cos(alpha), r2*Math.sin(alpha))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment