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

SCM Repository

[diderot] Diff of /branches/pure-cfg/test/vr-MIP.diderot
ViewVC logotype

Diff of /branches/pure-cfg/test/vr-MIP.diderot

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

revision 775, Thu Apr 7 21:48:11 2011 UTC revision 776, Thu Apr 7 21:50:30 2011 UTC
# Line 39  Line 39 
39  strand RayCast (int row, int col)  strand RayCast (int row, int col)
40  {  {
41      vec3 pos = orig + real(row)*rVec + real(col)*cVec;      vec3 pos = orig + real(row)*rVec + real(col)*cVec;
42      vec3 dir = (pos - eye)/|pos - eye|;      vec3 dir = normalize(pos - eye);
43      real t = 0.0;      real t = 0.0;
44      output real maxval = -∞;      output real maxval = -∞;
45    

Legend:
Removed from v.775  
changed lines
  Added in v.776

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