summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AutoVisual/IGPPentagon.pde11
1 files changed, 11 insertions, 0 deletions
diff --git a/AutoVisual/IGPPentagon.pde b/AutoVisual/IGPPentagon.pde
index 881adca..d193b2f 100644
--- a/AutoVisual/IGPPentagon.pde
+++ b/AutoVisual/IGPPentagon.pde
@@ -31,10 +31,21 @@ class IGPPentagon extends IGPFamily{
endShape();
}
+ void createDividingLines(){
+ stroke(0.0, 0.66, 0.0, 0.4);
+ createLine(mid, constructionCircleCenters.get(0));
+ createLine(mid, constructionCircleCenters.get(1));
+ createLine(mid, constructionCircleCenters.get(2));
+ createLine(mid, constructionCircleCenters.get(3));
+ createLine(mid, constructionCircleCenters.get(4));
+ }
+
void display() {
super.display();
createInnerPentagon();
+ createDividingLines();
}
+
void displayConstructionLines(){
super.displayConstructionLines();
createConstructionCircles();