<div dir="ltr">Hello,<div><br></div><div>I am trying to get Mesh2D into an useful thing. However, even though I assign</div><div>arbitrary float values to .xpos or .ypos, they always return zero regardless of my </div><div>explicit declaration.</div><div><br></div><div>When I run, for instance, the example <a href="http://mesh-help.ck">mesh-help.ck</a> from the repo and ask ChucK to print all values, I get always zero for .xpos and .ypos:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">Mesh2D mesh1 =&gt; dac.left;</font></div><div><font face="monospace">Mesh2D mesh2 =&gt; dac.right;</font></div><div><font face="monospace">0.5 =&gt; mesh1.gain =&gt; mesh2.gain;</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">while (true)</font></div><div><font face="monospace">{</font></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">Math.random2(2,12) =&gt; mesh1.x;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">Math.random2(2,12) =&gt; mesh1.y;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">Math.randomf() =&gt; mesh1.xpos;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">Math.randomf() =&gt; mesh1.ypos;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">1 =&gt; mesh1.noteOn;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">250::ms =&gt; now;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">Math.random2(2,12) =&gt; mesh2.x;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">Math.random2(2,12) =&gt; mesh2.y;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">Math.randomf() =&gt; mesh2.xpos;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">Math.randomf() =&gt; mesh2.ypos;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">1 =&gt; mesh2.noteOn;</font></div></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">250::ms =&gt; now;</font></div></blockquote><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">&lt;&lt;&lt;mesh1.x(), mesh1.y(), mesh1.xpos(), mesh1.ypos()&gt;&gt;&gt;;</font></div></blockquote></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="monospace">&lt;&lt;&lt;mesh2.x(), mesh2.y(), mesh2.xpos(), mesh2.ypos()&gt;&gt;&gt;;</font></div></blockquote></div><div><font face="monospace">}</font></div><div><font face="monospace"><br></font></div><div><font face="monospace"># chuck <a href="http://mesh-help.ck">mesh-help.ck</a></font></div><div><font face="monospace"><br></font></div><div><div style="font-family:monospace">11 9 0.000000 0.000000 </div></div><div><div style="font-family:monospace">4 5 0.000000 0.000000 </div></div><div><div style="font-family:monospace">4 9 0.000000 0.000000 </div></div><div><div style="font-family:monospace">10 11 0.000000 0.000000 </div></div><div><div style="font-family:monospace">6 5 0.000000 0.000000 </div></div><div><div style="font-family:monospace">2 3 0.000000 0.000000 </div></div><div><div style="font-family:monospace">5 6 0.000000 0.000000 </div></div><div><div style="font-family:monospace">2 6 0.000000 0.000000 </div></div><div><div style="font-family:monospace">3 7 0.000000 0.000000 </div></div><div><div style="font-family:monospace">10 2 0.000000 0.000000</div></div></blockquote><div><div style="font-family:monospace"><br></div><div style="font-family:monospace"><br></div><div><font face="arial, helvetica, sans-serif">...and so on.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">What do you think about it?</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Best regards!</font></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="color:rgb(136,136,136)">Jean Menezes da Rocha</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Compositor</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Professor -- Faculdades Est</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Mestre e Doutorando em Composição pela Universidade Federal da Bahia</span><br></div></div>
</div></div>