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

SCM Repository

[diderot] View of /branches/vis12/bugs/resolved/bug014.diderot
ViewVC logotype

View of /branches/vis12/bugs/resolved/bug014.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2256 - (download) (annotate)
Wed Mar 6 11:23:02 2013 UTC (8 years, 3 months ago) by glk
File size: 642 byte(s)
path different now that its resolved
/*
** BUG?
** is this not how a vec2 or vec3 sequence is supposed to be loaded,
** and used for initialization?
** This program works for "real", but not vec2's or vec3's
** To see problem, do a search-and-replace:
** real -> vec2, or
** real -> vec3,
** excluding this comment block, but
** including the data/????.nrrd filename
*/
vec2{} posInit = load("../data/vec2.nrrd");
int posNum = length(posInit);

int imgSizeX = 30;
int imgSizeY = 20;

strand LIC (int ii, vec2 pos0) {
    output vec2 pos = pos0;

    update {
        print(ii, ": ", pos, "\n");
        stabilize;
    }
}

initially { LIC(ii, posInit{ii}) | ii in 0..posNum-1 };

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