From: W. Trevor King Date: Sun, 17 Jun 2012 18:23:33 +0000 (-0400) Subject: Whitespace cleanups in schematic/unfolding.asy. X-Git-Tag: v1.0~344 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1a7d5fe936819eb5e9767d0d0e17787af5d3451a;p=thesis.git Whitespace cleanups in schematic/unfolding.asy. --- diff --git a/src/figures/schematic/unfolding.asy b/src/figures/schematic/unfolding.asy index abfd490..93aa112 100644 --- a/src/figures/schematic/unfolding.asy +++ b/src/figures/schematic/unfolding.asy @@ -30,8 +30,8 @@ struct Wiggle { if (i == (n-1)/2 || i == 0 || i == n-1) { y = 0.0; } else { - real frac = i/n; - envelope = (frac*(1.0-frac)*4)**3; + real frac = i/n; + envelope = (frac*(1.0-frac)*4)**3; y = (2*unitrand()-1.0) * envelope; } this.points.push(this.start + i*step + perp*y); @@ -102,7 +102,7 @@ struct ProteinChain { return this.prot_f; else return this.prot_u; - } + } guide guide() { guide g;