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

SCM Repository

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

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

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

revision 792, Fri Apr 8 21:50:02 2011 UTC revision 793, Fri Apr 8 21:52:10 2011 UTC
# Line 52  Line 52 
52         vec3 rayPos = camEye + rayN*rayVec;         vec3 rayPos = camEye + rayN*rayVec;
53         if (inside (rayPos,Fc1)) {         if (inside (rayPos,Fc1)) {
54            // ########## BEGIN per-sample code            // ########## BEGIN per-sample code
           real val = 0.0;  
           vec3 norm = [0.0,0.0,0.0];  
55            // HEY (scoping BUG): the strand parameters (e.g. ui, vi) can't            // HEY (scoping BUG): the strand parameters (e.g. ui, vi) can't
56            // appear in conditionals            // appear in conditionals
57            // HEY (BUG?): are fields allowed in conditional expressions?            // HEY (BUG?): are fields allowed in conditional expressions?
58            // uncaught exception Fail [Fail: bogus field binding F028C = RHS(_t0286)]            // uncaught exception Fail [Fail: bogus field binding F027D = RHS(_t0277)]
59            //  raised at high-il/high-opt.sml:74.18-76.11            //  raised at high-il/high-opt.sml:74.18-76.11
60            field#1(3)[] F = Fc0 if (myui + myvi < imgResU) else Fc1;            field#1(3)[] F = Fc0 if (myui + myvi < imgResU) else Fc1;
61            real val = F@rayPos;            real val = F@rayPos;

Legend:
Removed from v.792  
changed lines
  Added in v.793

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