about summary refs log tree commit diff stats
path: root/html/linux/raytracing/vec.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/linux/raytracing/vec.mu.html')
-rw-r--r--html/linux/raytracing/vec.mu.html31
1 files changed, 15 insertions, 16 deletions
diff --git a/html/linux/raytracing/vec.mu.html b/html/linux/raytracing/vec.mu.html
index 363585d7..fd9b4bb5 100644
--- a/html/linux/raytracing/vec.mu.html
+++ b/html/linux/raytracing/vec.mu.html
@@ -14,18 +14,17 @@ 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; }
-.muRegEcx { color: #af875f; }
-.Special { color: #ff6060; }
-.CommentedCode { color: #8a8a8a; }
+.PreProc { color: #c000c0; }
+.muRegEcx { color: #870000; }
 .LineNr { }
-.muRegEdi { color: #87ffd7; }
-.muRegEsi { color: #87d787; }
-.muRegEax { color: #875f00; }
-.Delimiter { color: #c000c0; }
-.muFunction { color: #af5f00; text-decoration: underline; }
 .Constant { color: #008787; }
-.PreProc { color: #c000c0; }
+.CommentedCode { color: #8a8a8a; }
+.muRegEsi { color: #005faf; }
+.muRegEdi { color: #00af00; }
 .muComment { color: #005faf; }
+.Delimiter { color: #c000c0; }
+.muFunction { color: #af5f00; text-decoration: underline; }
+.Special { color: #ff6060; }
 -->
 </style>
 
@@ -70,7 +69,7 @@ if ('onhashchange' in window) {
 <span id="L7" class="LineNr">  7 </span><span class="PreProc">fn</span> <span class="muFunction">print-vec3</span> <a href='../405screen.mu.html#L9'>screen</a>: (addr <a href='../405screen.mu.html#L9'>screen</a>), _v: (addr vec3) <span class="Delimiter">{</span>
 <span id="L8" class="LineNr">  8 </span>  <span class="PreProc">var</span> v/<span class="muRegEsi">esi</span>: (addr vec3) <span class="Special">&lt;-</span> copy _v
 <span id="L9" class="LineNr">  9 </span>  <a href='../405screen.mu.html#L169'>print-string</a> <a href='../405screen.mu.html#L9'>screen</a>, <span class="Constant">&quot;(&quot;</span>
-<span id="L10" class="LineNr"> 10 </span>  <span class="PreProc">var</span> tmp/<span class="muRegEax">eax</span>: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, x
+<span id="L10" class="LineNr"> 10 </span>  <span class="PreProc">var</span> tmp/eax: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, x
 <span id="L11" class="LineNr"> 11 </span>  <a href='../409print-float-hex.mu.html#L118'>print-float-hex</a> <a href='../405screen.mu.html#L9'>screen</a>, *tmp
 <span id="L12" class="LineNr"> 12 </span>  <a href='../405screen.mu.html#L169'>print-string</a> <a href='../405screen.mu.html#L9'>screen</a>, <span class="Constant">&quot;, &quot;</span>
 <span id="L13" class="LineNr"> 13 </span>  tmp <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, y
@@ -85,7 +84,7 @@ if ('onhashchange' in window) {
 <span id="L22" class="LineNr"> 22 </span>  <span class="PreProc">var</span> v1/<span class="muRegEdi">edi</span>: (addr vec3) <span class="Special">&lt;-</span> copy _v1
 <span id="L23" class="LineNr"> 23 </span>  <span class="PreProc">var</span> v2/<span class="muRegEsi">esi</span>: (addr vec3) <span class="Special">&lt;-</span> copy _v2
 <span id="L24" class="LineNr"> 24 </span>  <span class="muComment"># v1.x += v2.x</span>
-<span id="L25" class="LineNr"> 25 </span>  <span class="PreProc">var</span> arg1/<span class="muRegEax">eax</span>: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v1, x
+<span id="L25" class="LineNr"> 25 </span>  <span class="PreProc">var</span> arg1/eax: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v1, x
 <span id="L26" class="LineNr"> 26 </span>  <span class="PreProc">var</span> arg2/<span class="muRegEcx">ecx</span>: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v2, x
 <span id="L27" class="LineNr"> 27 </span>  <span class="PreProc">var</span> result/<span class="Constant">xmm0</span>: float <span class="Special">&lt;-</span> copy *arg1
 <span id="L28" class="LineNr"> 28 </span>  result <span class="Special">&lt;-</span> add *arg2
@@ -106,14 +105,14 @@ if ('onhashchange' in window) {
 <span id="L43" class="LineNr"> 43 </span>
 <span id="L44" class="LineNr"> 44 </span><span class="PreProc">fn</span> <span class="muFunction">vec3-subtract-from</span> v1: (addr vec3), v2: (addr vec3) <span class="Delimiter">{</span>
 <span id="L45" class="LineNr"> 45 </span>  <span class="PreProc">var</span> tmp-storage: vec3
-<span id="L46" class="LineNr"> 46 </span>  <span class="PreProc">var</span> tmp/<span class="muRegEax">eax</span>: (addr vec3) <span class="Special">&lt;-</span> address tmp-storage
+<span id="L46" class="LineNr"> 46 </span>  <span class="PreProc">var</span> tmp/eax: (addr vec3) <span class="Special">&lt;-</span> address tmp-storage
 <span id="L47" class="LineNr"> 47 </span>  copy-object v2, tmp
 <span id="L48" class="LineNr"> 48 </span>  vec3-negate tmp
 <span id="L49" class="LineNr"> 49 </span>  vec3-add-to v1, tmp
 <span id="L50" class="LineNr"> 50 </span><span class="Delimiter">}</span>
 <span id="L51" class="LineNr"> 51 </span>
 <span id="L52" class="LineNr"> 52 </span><span class="PreProc">fn</span> <span class="muFunction">vec3-negate</span> v: (addr vec3) <span class="Delimiter">{</span>
-<span id="L53" class="LineNr"> 53 </span>  <span class="PreProc">var</span> negative-one/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">-1</span>
+<span id="L53" class="LineNr"> 53 </span>  <span class="PreProc">var</span> negative-one/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">-1</span>
 <span id="L54" class="LineNr"> 54 </span>  <span class="PreProc">var</span> negative-one-f/<span class="Constant">xmm0</span>: float <span class="Special">&lt;-</span> convert negative-one
 <span id="L55" class="LineNr"> 55 </span>  vec3-scale-up v, negative-one-f
 <span id="L56" class="LineNr"> 56 </span><span class="Delimiter">}</span>
@@ -121,7 +120,7 @@ if ('onhashchange' in window) {
 <span id="L58" class="LineNr"> 58 </span><span class="PreProc">fn</span> <span class="muFunction">vec3-scale-up</span> _v: (addr vec3), f: float <span class="Delimiter">{</span>
 <span id="L59" class="LineNr"> 59 </span>  <span class="PreProc">var</span> v/<span class="muRegEdi">edi</span>: (addr vec3) <span class="Special">&lt;-</span> copy _v
 <span id="L60" class="LineNr"> 60 </span>  <span class="muComment"># v.x *= f</span>
-<span id="L61" class="LineNr"> 61 </span>  <span class="PreProc">var</span> dest/<span class="muRegEax">eax</span>: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, x
+<span id="L61" class="LineNr"> 61 </span>  <span class="PreProc">var</span> dest/eax: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, x
 <span id="L62" class="LineNr"> 62 </span>  <span class="PreProc">var</span> result/<span class="Constant">xmm0</span>: float <span class="Special">&lt;-</span> copy *dest
 <span id="L63" class="LineNr"> 63 </span>  result <span class="Special">&lt;-</span> multiply f
 <span id="L64" class="LineNr"> 64 </span>  copy-to *dest, result
@@ -140,7 +139,7 @@ if ('onhashchange' in window) {
 <span id="L77" class="LineNr"> 77 </span><span class="PreProc">fn</span> <span class="muFunction">vec3-scale-down</span> _v: (addr vec3), f: float <span class="Delimiter">{</span>
 <span id="L78" class="LineNr"> 78 </span>  <span class="PreProc">var</span> v/<span class="muRegEdi">edi</span>: (addr vec3) <span class="Special">&lt;-</span> copy _v
 <span id="L79" class="LineNr"> 79 </span>  <span class="muComment"># v.x /= f</span>
-<span id="L80" class="LineNr"> 80 </span>  <span class="PreProc">var</span> dest/<span class="muRegEax">eax</span>: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, x
+<span id="L80" class="LineNr"> 80 </span>  <span class="PreProc">var</span> dest/eax: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, x
 <span id="L81" class="LineNr"> 81 </span>  <span class="PreProc">var</span> result/<span class="Constant">xmm0</span>: float <span class="Special">&lt;-</span> copy *dest
 <span id="L82" class="LineNr"> 82 </span>  result <span class="Special">&lt;-</span> divide f
 <span id="L83" class="LineNr"> 83 </span>  copy-to *dest, result
@@ -174,7 +173,7 @@ if ('onhashchange' in window) {
 <span id="L111" class="LineNr">111 </span><span class="PreProc">fn</span> <span class="muFunction">vec3-length-squared</span> _v: (addr vec3)<span class="PreProc"> -&gt; </span>_/<span class="Constant">xmm0</span>: float <span class="Delimiter">{</span>
 <span id="L112" class="LineNr">112 </span>  <span class="PreProc">var</span> v/<span class="muRegEsi">esi</span>: (addr vec3) <span class="Special">&lt;-</span> copy _v
 <span id="L113" class="LineNr">113 </span>  <span class="muComment"># result = v.x * v.x</span>
-<span id="L114" class="LineNr">114 </span>  <span class="PreProc">var</span> src/<span class="muRegEax">eax</span>: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, x
+<span id="L114" class="LineNr">114 </span>  <span class="PreProc">var</span> src/eax: (addr float) <span class="Special">&lt;-</span> <a href='../131table.subx.html#L26'>get</a> v, x
 <span id="L115" class="LineNr">115 </span>  <span class="PreProc">var</span> tmp/<span class="Constant">xmm1</span>: float <span class="Special">&lt;-</span> copy *src
 <span id="L116" class="LineNr">116 </span>  tmp <span class="Special">&lt;-</span> multiply tmp
 <span id="L117" class="LineNr">117 </span>  <span class="PreProc">var</span> result/<span class="Constant">xmm0</span>: float <span class="Special">&lt;-</span> copy tmp