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

SCM Repository

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

View of /branches/vis12/test/bug1.diderot

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1855 - (download) (annotate)
Fri Apr 20 17:28:15 2012 UTC (8 years, 9 months ago) by nseltzer
File size: 361 byte(s)
Committed two samples which expose bugs.
// Doesn't compile without the --exec option.
// It's a problem with the input function for p
// Input seems to work for ints, but not reals or vecs.

input real p = 2.5;

strand R (int i, int j, int k)

    output vec3 t = [p * real(i), p * real(j), p * real(k)];

initially [ R(i, j, k) | i in 0..60, j in 0..60 , k in 0..60];

ViewVC Help
Powered by ViewVC 1.0.0