Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /web/htdocs/vr-lite.html
ViewVC logotype

Diff of /web/htdocs/vr-lite.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 484, Tue Nov 23 16:51:51 2010 UTC revision 485, Fri Dec 10 16:06:03 2010 UTC
# Line 32  Line 32 
32  <span class="code-type">image(3)[]</span> img = load (dataFile);  <span class="code-type">image(3)[]</span> img = load (dataFile);
33  <span class="code-type">field#1(3)[]</span> F = img ⊛ bspln3;  <span class="code-type">field#1(3)[]</span> F = img ⊛ bspln3;
34    
35  <span class="code-kw">actor</span> RayCast (<span class="code-type">int</span> row, <span class="code-type">int</span> col)  <span class="code-kw">strand</span> RayCast (<span class="code-type">int</span> row, <span class="code-type">int</span> col)
36  {  {
37      <span class="code-type">vec3</span> pos = orig + <span class="code-type">real</span>(row)*rVec + <span class="code-type">real</span>(col)*cVec;      <span class="code-type">vec3</span> pos = orig + <span class="code-type">real</span>(row)*rVec + <span class="code-type">real</span>(col)*cVec;
38      <span class="code-type">vec3</span> dir = (pos - eye)/|pos - eye|;      <span class="code-type">vec3</span> dir = (pos - eye)/|pos - eye|;

Legend:
Removed from v.484  
changed lines
  Added in v.485

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0