diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/apps/mandelbrot.mu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/apps/mandelbrot.mu.html b/html/apps/mandelbrot.mu.html index d1ac6068..b14d4ebc 100644 --- a/html/apps/mandelbrot.mu.html +++ b/html/apps/mandelbrot.mu.html @@ -195,8 +195,8 @@ if ('onhashchange' in window) { <span id="L132" class="LineNr">132 </span><span class="Delimiter">}</span> <span id="L133" class="LineNr">133 </span> <span id="L134" class="LineNr">134 </span><span class="muComment"># Scale (x, y) pixel coordinates to a complex plane where the viewport width</span> -<span id="L135" class="LineNr">135 </span><span class="muComment"># ranges from -2 to +2. Viewport height just follows the viewport's aspect</span> -<span id="L136" class="LineNr">136 </span><span class="muComment"># ratio.</span> +<span id="L135" class="LineNr">135 </span><span class="muComment"># ranges from (scene-cx - scene-width/2) to (scene-cx + scene-width/2).</span> +<span id="L136" class="LineNr">136 </span><span class="muComment"># Viewport height just follows the viewport's aspect ratio.</span> <span id="L137" class="LineNr">137 </span> <span id="L138" class="LineNr">138 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='mandelbrot.mu.html#L138'>viewport-to-real</a></span> x: int, width: int, scene-cx: float, scene-width: float<span class="PreProc"> -> </span>_/<span class="Constant">xmm0</span>: float <span class="Delimiter">{</span> <span id="L139" class="LineNr">139 </span> <span class="muComment"># 0 in the viewport goes to scene-cx - scene-width/2 </span> |