From 372367f59a897162912d0646158bdea1e07d6e66 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 26 Jun 2021 20:55:36 -0700 Subject: html: better highlighting for int registers --- html/linux/raytracing/ray.mu.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'html/linux/raytracing/ray.mu.html') 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; } --> @@ -67,7 +66,7 @@ if ('onhashchange' in window) { 8 # so. 9 fn initialize-ray _self: (addr ray), o: (addr vec3), d: (addr vec3) { 10 var self/esi: (addr ray) <- copy _self -11 var dest/eax: (addr vec3) <- get self, orig +11 var dest/eax: (addr vec3) <- get self, orig 12 copy-object o, dest 13 dest <- get self, dir 14 vec3-unit d, dest @@ -75,7 +74,7 @@ if ('onhashchange' in window) { 16 17 fn ray-at _self: (addr ray), t: float, out: (addr vec3) { 18 var self/esi: (addr ray) <- copy _self -19 var src/eax: (addr vec3) <- get self, dir +19 var src/eax: (addr vec3) <- get self, dir 20 copy-object src, out 21 vec3-scale-up out, t 22 src <- get self, orig -- cgit 1.4.1-2-gfad0