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

SCM Repository

[diderot] Diff of /branches/vis12/test/triv.diderot
ViewVC logotype

Diff of /branches/vis12/test/triv.diderot

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

revision 2802, Sat Nov 8 14:17:50 2014 UTC revision 2803, Sat Nov 8 14:29:37 2014 UTC
# Line 3  Line 3 
3    
4  real x = 2.0;  real x = 2.0;
5    
6  strand RayCast ()  strand RayCast (int r, int c)
7  {  {
8      real t = 0.0;      real t = 0.0;
9        real s = t + 2.0;
10      output real y = 1.0;      output real y = 1.0;
11      output real z = exp(1.5);      output real z = exp(1.5);
12      output real w = erf(z);      output real w = erf(z);
13    
14      update      update
15      {      {
16          t = t + 0.1;          t = t + 0.1 * (r+c);
17          if (t > 20.0)          if (t > 20.0)
18              stabilize;              stabilize;
19      }      }
# Line 20  Line 21 
21      /* render: output maxval */      /* render: output maxval */
22  }  }
23    
24  initially [ RayCast() | r in 0..199, c in 0..199 ];  initially [ RayCast(r, c) | r in 0..199, c in 0..199 ];

Legend:
Removed from v.2802  
changed lines
  Added in v.2803

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