From 8fccb64111837bbb05eae5bd8a58721c141c7ad2 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 31 Dec 2015 05:17:19 +0100 Subject: AutoVisual/IGPFamily.pde: Expanding the createCircle() function by an additional parameter for the diameter. --- AutoVisual/IGPFamily.pde | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'AutoVisual') diff --git a/AutoVisual/IGPFamily.pde b/AutoVisual/IGPFamily.pde index 7de1c0a..2dc2398 100644 --- a/AutoVisual/IGPFamily.pde +++ b/AutoVisual/IGPFamily.pde @@ -68,19 +68,19 @@ class IGPFamily { translate(mid.x*(-1), mid.y*(-1)); } - void createCircle(PVector v) { + void createCircle(PVector v, float diameter) { ellipse(v.x, v.y, diameter, diameter); } void createAlphaCircle() { stroke(1.0, 0.0, 0.0, 1.0); - createCircle(mid); + createCircle(mid, diameter); } void createConstructionCircles(){ stroke(0.66, 0.66, 0.66, 0.4); for (PVector constructionCircle : constructionCircleCenters) { - createCircle(constructionCircle); + createCircle(constructionCircle, diameter); } } -- cgit v1.2.3-70-g09d2