diff options
Diffstat (limited to 'html/509bezier.mu.html')
-rw-r--r-- | html/509bezier.mu.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/509bezier.mu.html b/html/509bezier.mu.html index 274f2211..f21c74c5 100644 --- a/html/509bezier.mu.html +++ b/html/509bezier.mu.html @@ -72,7 +72,7 @@ if ('onhashchange' in window) { <span id="L11" class="LineNr"> 11 </span><span class="muComment"># think it isn't. I think it's purely a property of the frame of reference.</span> <span id="L12" class="LineNr"> 12 </span><span class="muComment"># Rotating the axes can make the gradient change sign or stop changing sign</span> <span id="L13" class="LineNr"> 13 </span><span class="muComment"># even as 3 points preserve fixed relative bearings to each other.</span> -<span id="L14" class="LineNr"> 14 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='509bezier.mu.html#L14'>draw-monotonic-bezier</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x0: int, y0: int, x1: int, y1: int, x2: int, y2: int, color: int <span class="Delimiter">{</span> +<span id="L14" class="LineNr"> 14 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='509bezier.mu.html#L14'>draw-monotonic-bezier</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), x0: int, y0: int, x1: int, y1: int, x2: int, y2: int, color: int <span class="Delimiter">{</span> <span id="L15" class="LineNr"> 15 </span> <span class="PreProc">var</span> xx: int <span id="L16" class="LineNr"> 16 </span> <span class="PreProc">var</span> yy: int <span id="L17" class="LineNr"> 17 </span> <span class="PreProc">var</span> xy: int @@ -296,7 +296,7 @@ if ('onhashchange' in window) { <span id="L235" class="LineNr">235 </span> err-f <span class="Special"><-</span> add xy-f <span id="L236" class="LineNr">236 </span> <span class="muComment">#</span> <span id="L237" class="LineNr">237 </span> $draw-monotonic-bezier:<span class="PreProc">loop</span>: <span class="Delimiter">{</span> -<span id="L238" class="LineNr">238 </span> <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color +<span id="L238" class="LineNr">238 </span> <a href='500fake-screen.mu.html#L580'>pixel</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x, y, color <span id="L239" class="LineNr">239 </span> <span class="muComment"># if (x == x2 && y == y2) return</span> <span id="L240" class="LineNr">240 </span> <span class="Delimiter">{</span> <span id="L241" class="LineNr">241 </span> compare x, x2 @@ -352,7 +352,7 @@ if ('onhashchange' in window) { <span id="L291" class="LineNr">291 </span> <span class="Delimiter">}</span> <span id="L292" class="LineNr">292 </span> <span class="Delimiter">}</span> <span id="L293" class="LineNr">293 </span> <span class="muComment"># plot the remaining straight line</span> -<span id="L294" class="LineNr">294 </span> <a href='507line.mu.html#L1'>draw-line</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x y, x2 y2, color +<span id="L294" class="LineNr">294 </span> <a href='507line.mu.html#L1'>draw-line</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x y, x2 y2, color <span id="L295" class="LineNr">295 </span><span class="Delimiter">}</span> <span id="L296" class="LineNr">296 </span> <span id="L297" class="LineNr">297 </span><span class="muComment"># 0 <= u <= 1</span> |