[flokk-checkins] Use the "expandProblem for generation of the points.
Status: Pre-Alpha
Brought to you by:
dshipton
From: Daniel E. S. <dsh...@us...> - 2004-12-22 22:12:46
|
<html> <head> <style><!-- body {background-color:#ffffff;} .file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;} .pathname {font-family:monospace; float:right;} .fileheader {margin-bottom:.5em;} .diff {margin:0;} .tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;} .tasklist ul {margin-top:0;margin-bottom:0;} tr.alt {background-color:#eeeeee} #added {background-color:#ddffdd;} #addedchars {background-color:#99ff99;font-weight:bolder;} tr.alt #added {background-color:#ccf7cc;} #removed {background-color:#ffdddd;} #removedchars {background-color:#ff9999;font-weight:bolder;} tr.alt #removed {background-color:#f7cccc;} #info {color:#888888;} #context {background-color:#eeeeee;} td {padding-left:.3em;padding-right:.3em;} tr.head {border-bottom-width:1px;border-bottom-style:solid;} tr.head td {padding:0;padding-top:.2em;} .task {background-color:#ffff00;} .comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd} .error {color:red;} hr {border-width:0px;height:2px;background:black;} --></style> </head> <body> <table cellspacing="0" cellpadding="0" border="0" rules="cols"> <tr class="head"><td colspan="4">Commit in <b><tt>flokk/samples/fishbowl/src</tt></b><span id="info"> on MAIN</span></td></tr> <tr><td><tt><a href="#file1">RandomMoveProblem.cpp</a></tt></td><td align="right" id="added">+3</td><td align="right" id="removed">-3</td><td nowrap="nowrap" align="center"><a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples/fishbowl/src/RandomMoveProblem.cpp?rev=1.13&content-type=text/vnd.viewcvs-markup">1.13</a> <a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples/fishbowl/src/RandomMoveProblem.cpp.diff?r1=1.13&r2=1.14">-></a> <a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples/fishbowl/src/RandomMoveProblem.cpp?rev=1.14&content-type=text/vnd.viewcvs-markup">1.14</a></td></tr> </table> <pre class="comment"> Use the "expandProblem for generation of the points. </pre> <hr /><a name="file1" /><div class="file"> <span class="pathname"><a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk">flokk</a>/<a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples">samples</a>/<a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples/fishbowl">fishbowl</a>/<a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples/fishbowl/src">src</a><br /></span> <div class="fileheader"><big><b>RandomMoveProblem.cpp</b></big> <small id="info"><a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples/fishbowl/src/RandomMoveProblem.cpp?rev=1.13&content-type=text/vnd.viewcvs-markup">1.13</a> <a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples/fishbowl/src/RandomMoveProblem.cpp.diff?r1=1.13&r2=1.14">-></a> <a href="http://cvs.sourceforge.net/viewcvs.py/flokk/flokk/samples/fishbowl/src/RandomMoveProblem.cpp?rev=1.14&content-type=text/vnd.viewcvs-markup">1.14</a></small></div> <pre class="diff"><small id="info">diff -u -r1.13 -r1.14 --- RandomMoveProblem.cpp 15 Dec 2004 01:54:33 -0000 1.13 +++ RandomMoveProblem.cpp 22 Dec 2004 22:12:40 -0000 1.14 @@ -3,8 +3,8 @@ </small></pre><pre class="diff" id="context"> * * ----------------------------------------------------------------- * File: $RCSfile: RandomMoveProblem.cpp,v $ </pre><pre class="diff" id="removed">- * Date modified: $Date: 2004/12/15 01:54:33 $ - * Version: $Revision: 1.13 $ </pre><pre class="diff" id="added">+ * Date modified: $Date: 2004/12/22 22:12:40 $ + * Version: $Revision: 1.14 $ </pre><pre class="diff" id="context"> * ----------------------------------------------------------------- * * </pre><pre class="diff"><small id="info">@@ -93,7 +93,7 @@ </small></pre><pre class="diff" id="context"> gmtl::Point3f s1 = (1 - t) * p0 + t * p1; gmtl::Point3f s2 = (1 - t) * p1 + t * p2; gmtl::Point3f ss = (1 - t) * s1 + t * s2; </pre><pre class="diff" id="removed">- mAgent-><span id="removedchars">ad</span>dProblem( new MoveProblem( ss ) ); </pre><pre class="diff" id="added">+ mAgent-><span id="addedchars">expan</span>dProblem( new MoveProblem( ss ) ); </pre><pre class="diff" id="context"> t += step; } la->setDesiredSpeed( randomf(4, 8) ); </pre></div> <center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.10</small></center> </body></html> |