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

SCM Repository

[diderot] View of /branches/lamont/test/halftone/pass4.diderot
ViewVC logotype

View of /branches/lamont/test/halftone/pass4.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2321 - (download) (annotate)
Fri Mar 22 15:40:36 2013 UTC (6 years, 5 months ago) by glk
File size: 285 byte(s)
for vec3 bug
vec4{} initPosns = load("-");
int numOfParticles = length(initPosns);

strand Particle (int ii, vec4 pos0) {
    output vec4 pos = pos0;
    update {
      print(pos, "\n");
      stabilize;
    }
}

initially {Particle(ii, initPosns{ii})
           | ii in 0 .. numOfParticles-1 };


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