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

SCM Repository

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

Diff of /branches/staging/test/vr-MIP.diderot

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

revision 511, Tue Feb 8 17:01:43 2011 UTC revision 1116, Thu May 5 04:49:02 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.511  
changed lines
  Added in v.1116

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