diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-06-26 20:55:36 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-06-26 20:55:36 -0700 |
commit | 372367f59a897162912d0646158bdea1e07d6e66 (patch) | |
tree | 16cd7f70de3505f35fbc86ed2b7d3810cab0d148 /html/linux/raytracing/ray.mu.html | |
parent | dc5a0acf3feea227d03a98cedf427d2aef462320 (diff) | |
download | mu-372367f59a897162912d0646158bdea1e07d6e66.tar.gz |
html: better highlighting for int registers
Diffstat (limited to 'html/linux/raytracing/ray.mu.html')
-rw-r--r-- | html/linux/raytracing/ray.mu.html | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/html/linux/raytracing/ray.mu.html b/html/linux/raytracing/ray.mu.html index 2b9caf2e..7828b6fb 100644 --- a/html/linux/raytracing/ray.mu.html +++ b/html/linux/raytracing/ray.mu.html @@ -14,14 +14,13 @@ pre { white-space: pre-wrap; font-family: monospace; color: #000000; background- body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } -.muComment { color: #005faf; } -.LineNr { } +.PreProc { color: #c000c0; } .Special { color: #ff6060; } -.muRegEsi { color: #87d787; } -.muRegEax { color: #875f00; } +.LineNr { } +.muRegEsi { color: #005faf; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } -.PreProc { color: #c000c0; } +.muComment { color: #005faf; } --> </style> @@ -67,7 +66,7 @@ if ('onhashchange' in window) { <span id="L8" class="LineNr"> 8 </span><span class="muComment"># so.</span> <span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction">initialize-ray</span> _self: (addr ray), o: (addr vec3), d: (addr vec3) <span class="Delimiter">{</span> <span id="L10" class="LineNr">10 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr ray) <span class="Special"><-</span> copy _self -<span id="L11" class="LineNr">11 </span> <span class="PreProc">var</span> dest/<span class="muRegEax">eax</span>: (addr vec3) <span class="Special"><-</span> <a href='../131table.subx.html#L26'>get</a> self, orig +<span id="L11" class="LineNr">11 </span> <span class="PreProc">var</span> dest/eax: (addr vec3) <span class="Special"><-</span> <a href='../131table.subx.html#L26'>get</a> self, orig <span id="L12" class="LineNr">12 </span> copy-object o, dest <span id="L13" class="LineNr">13 </span> dest <span class="Special"><-</span> <a href='../131table.subx.html#L26'>get</a> self, dir <span id="L14" class="LineNr">14 </span> vec3-unit d, dest @@ -75,7 +74,7 @@ if ('onhashchange' in window) { <span id="L16" class="LineNr">16 </span> <span id="L17" class="LineNr">17 </span><span class="PreProc">fn</span> <span class="muFunction">ray-at</span> _self: (addr ray), t: float, out: (addr vec3) <span class="Delimiter">{</span> <span id="L18" class="LineNr">18 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr ray) <span class="Special"><-</span> copy _self -<span id="L19" class="LineNr">19 </span> <span class="PreProc">var</span> src/<span class="muRegEax">eax</span>: (addr vec3) <span class="Special"><-</span> <a href='../131table.subx.html#L26'>get</a> self, dir +<span id="L19" class="LineNr">19 </span> <span class="PreProc">var</span> src/eax: (addr vec3) <span class="Special"><-</span> <a href='../131table.subx.html#L26'>get</a> self, dir <span id="L20" class="LineNr">20 </span> copy-object src, out <span id="L21" class="LineNr">21 </span> vec3-scale-up out, t <span id="L22" class="LineNr">22 </span> src <span class="Special"><-</span> <a href='../131table.subx.html#L26'>get</a> self, orig |