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

SCM Repository

[diderot] View of /branches/vis12/test/opt-test.diderot
ViewVC logotype

View of /branches/vis12/test/opt-test.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2199 - (download) (annotate)
Sun Feb 24 15:15:14 2013 UTC (6 years, 3 months ago) by jhr
File size: 280 byte(s)
  Adding a test of optimizations
// triv.diderot
//

input real x;
input real y;
real a = -x;
real b = y-a;

strand RayCast ()
{
    output real t = a + b;

    update
    {
	t = t + 0.1;
	if (t > 20.0)
	    stabilize;
    }

    /* render: output maxval */
}

initially [ RayCast() | r in 0..199, c in 0..199 ];

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