From 01cb78b29f1c677535f1793736238789b5ce0134 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 26 Jun 2015 21:14:23 -0400
Subject: [PATCH] added some comments to plot_vis for sanity

---
 pd/src/g_template.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pd/src/g_template.c b/pd/src/g_template.c
index f99caa1bf..1af6dc9d0 100644
--- a/pd/src/g_template.c
+++ b/pd/src/g_template.c
@@ -5264,7 +5264,7 @@ static void plot_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
         {
             t_float xscale = glist_xtopixels(glist, 1) - glist_xtopixels(glist, 0);
             t_float yscale = glist_ytopixels(glist, 1) - glist_ytopixels(glist, 0);
-            t_float y_inverse = 1 / yscale;
+            t_float y_inverse = 1 / yscale; /* for the stroke-width */
 
             symfill = (style == PLOTSTYLE_POINTS ? symoutline : symfill);
             t_float minyval = 1e20, maxyval = -1e20;
@@ -5439,7 +5439,7 @@ static void plot_vis(t_gobj *z, t_glist *glist, t_glist *parentglist,
 
             gui_end_vmess();
         }
-        else
+        else /* polygon style */
         {
             //char outline[20];
             int lastpixel = -1, ndrawn = 0;
-- 
GitLab