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

SCM Repository

[diderot] Diff of /branches/charisee_dev/ertest/vispaper/viso2d/fsamp.diderot
ViewVC logotype

Diff of /branches/charisee_dev/ertest/vispaper/viso2d/fsamp.diderot

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

revision 3489, Tue Dec 8 20:49:31 2015 UTC revision 3596, Sat Jan 16 16:10:42 2016 UTC
# Line 22  Line 22 
22    real y = pos[1];    real y = pos[1];
23    real w = 0.0 if |pos| > 1 else (1+cos(π*|pos|))/2;    real w = 0.0 if |pos| > 1 else (1+cos(π*|pos|))/2;
24    return [y, -x]*w;    return [y, -x]*w;
   
25  }  }
26    
27  strand sample(int xi, int yi) {  strand sample(int xi, int yi) {

Legend:
Removed from v.3489  
changed lines
  Added in v.3596

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