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

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/zslice-rgb.diderot
ViewVC logotype

Diff of /branches/pure-cfg/test/zslice-rgb.diderot

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

revision 882, Wed Apr 20 13:12:29 2011 UTC revision 898, Wed Apr 20 17:22:47 2011 UTC
# Line 15  Line 15 
15    
16  strand RayCast (int ui, int vi)  strand RayCast (int ui, int vi)
17  {  {
18        int u = ui;
19        int v = vi;
20      vec2 pos = [lerp(-1.0, 1.0, -0.5, real(ui), real(imgRes)-0.5),      vec2 pos = [lerp(-1.0, 1.0, -0.5, real(ui), real(imgRes)-0.5),
21                  lerp(-1.0, 1.0, -0.5, real(vi), real(imgRes)-0.5)];                  lerp(-1.0, 1.0, -0.5, real(vi), real(imgRes)-0.5)];
22      output vec3 rgb = [0.0,0.0,0.0];      output vec3 rgb = [0.0,0.0,0.0];

Legend:
Removed from v.882  
changed lines
  Added in v.898

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