From f527b87d09d686f8e7cb355aaa5da0fa17136c67 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 4 Jan 2016 06:50:34 +0100 Subject: AutoVisual/IGP{Family,Hexagon,Pentagon,Square}.pde: Removing display() function in lower level classes, moving all calls to create* methods to displayConstructionLines(). Refactoring outerSquareVectors* ArrayLists to {twelve,sixteen}BaseVectorsOnOuterSquare, to separate their usage more obviously from creating vectorsOnOuterSquare ArrayLists holding all PVectors necessary to display geometric patterns with end points on the outer square. --- AutoVisual/IGPPentagon.pde | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'AutoVisual/IGPPentagon.pde') diff --git a/AutoVisual/IGPPentagon.pde b/AutoVisual/IGPPentagon.pde index 3cfa4f0..02891ac 100644 --- a/AutoVisual/IGPPentagon.pde +++ b/AutoVisual/IGPPentagon.pde @@ -38,14 +38,10 @@ class IGPPentagon extends IGPFamily{ createLine(mid, constructionCircleCenters.get(4)); } - void display() { - super.display(); - createInnerPentagon(); - createDividingLines(); - } - void displayConstructionLines(){ super.displayConstructionLines(); + createInnerPentagon(); createConstructionCircles(); + createDividingLines(); } } -- cgit v1.2.3-54-g00ecf