diff options
Diffstat (limited to 'html/apps/raytracing/color.mu.html')
-rw-r--r-- | html/apps/raytracing/color.mu.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/apps/raytracing/color.mu.html b/html/apps/raytracing/color.mu.html index 8313b7ec..3daaa25b 100644 --- a/html/apps/raytracing/color.mu.html +++ b/html/apps/raytracing/color.mu.html @@ -56,7 +56,7 @@ if ('onhashchange' in window) { <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/master/apps/raytracing/color.mu'>https://github.com/akkartik/mu/blob/master/apps/raytracing/color.mu</a> <pre id='vimCodeElement'> -<span id="L1" class="LineNr"> 1 </span><span class="PreProc">type</span> <a href='color.mu.html#L1'>rgb</a> <span class="Delimiter">{</span> +<span id="L1" class="LineNr"> 1 </span><span class="PreProc">type</span> rgb <span class="Delimiter">{</span> <span id="L2" class="LineNr"> 2 </span> <span class="muComment"># components normalized to within [0.0, 1.0]</span> <span id="L3" class="LineNr"> 3 </span> r: float <span id="L4" class="LineNr"> 4 </span> g: float @@ -64,8 +64,8 @@ if ('onhashchange' in window) { <span id="L6" class="LineNr"> 6 </span><span class="Delimiter">}</span> <span id="L7" class="LineNr"> 7 </span> <span id="L8" class="LineNr"> 8 </span><span class="muComment"># print translating to [0, 256)</span> -<span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='color.mu.html#L9'>print-rgb</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr <a href='../../405screen.mu.html#L9'>screen</a>), _c: (addr <a href='color.mu.html#L1'>rgb</a>) <span class="Delimiter">{</span> -<span id="L10" class="LineNr">10 </span> <span class="PreProc">var</span> c/<span class="Constant">esi</span>: (addr <a href='color.mu.html#L1'>rgb</a>) <span class="SpecialChar"><-</span> copy _c +<span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction">print-rgb</span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr <a href='../../405screen.mu.html#L9'>screen</a>), _c: (addr rgb) <span class="Delimiter">{</span> +<span id="L10" class="LineNr">10 </span> <span class="PreProc">var</span> c/<span class="Constant">esi</span>: (addr rgb) <span class="SpecialChar"><-</span> copy _c <span id="L11" class="LineNr">11 </span> <span class="PreProc">var</span> xn: float <span id="L12" class="LineNr">12 </span> <span class="PreProc">var</span> xn-addr/<span class="Constant">ecx</span>: (addr float) <span class="SpecialChar"><-</span> address xn <span id="L13" class="LineNr">13 </span> <a href='../../409float.mu.html#L3'>fill-in-rational</a> xn-addr, <span class="Constant">0x3e7ff</span>, <span class="Constant">0x3e8</span> <span class="muComment"># 255999 / 1000</span> |