SCM Repository
[diderot] / branches / pure-cfg / test / vr-MIP.diderot |
Diff of /branches/pure-cfg/test/vr-MIP.diderot
Parent Directory
|
Revision Log
|
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 |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |