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

SCM Repository

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

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

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

revision 653, Mon Mar 21 00:31:29 2011 UTC revision 658, Mon Mar 21 18:06:32 2011 UTC
# Line 14  Line 14 
14      real rr = real(dataSize)*(real(row)+0.5)/real(imgSize) - 0.5;      real rr = real(dataSize)*(real(row)+0.5)/real(imgSize) - 0.5;
15      real cc = real(dataSize)*(real(col)+0.5)/real(imgSize) - 0.5;      real cc = real(dataSize)*(real(col)+0.5)/real(imgSize) - 0.5;
16      vec3 pos = orig + rr*rVec + cc*cVec;      vec3 pos = orig + rr*rVec + cc*cVec;
17      output vec3 grad;      output vec3 grad = [0.0, 0.0, 0.0];
18    
19      update      update
20      {      {

Legend:
Removed from v.653  
changed lines
  Added in v.658

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