Changeset 52

Show
Ignore:
Timestamp:
07/21/07 15:59:15 (1 year ago)
Author:
JoeCoder
Message:

Added Color to yage.core.types

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doc/api/demo1.gameobj.html

    r35 r52  
    106106        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    107107        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    108         on Sun Jul  8 23:04:54 2007 
     108        on Sat Jul 21 15:56:00 2007 
    109109 
    110110    </div> 
     
    119119    explorer.packageExplorer.addModule("yage.core.freelist"); 
    120120 
     121    explorer.packageExplorer.addModule("yage.core.math"); 
     122 
    121123    explorer.packageExplorer.addModule("yage.core.matrix"); 
    122124 
     
    133135    explorer.packageExplorer.addModule("yage.core.timer"); 
    134136 
     137    explorer.packageExplorer.addModule("yage.core.types"); 
     138 
    135139    explorer.packageExplorer.addModule("yage.core.vector"); 
    136140 
    137141    explorer.packageExplorer.addModule("yage.core.xml"); 
     142 
     143    explorer.packageExplorer.addModule("yage.gui.all"); 
     144 
     145    explorer.packageExplorer.addModule("yage.gui.style"); 
     146 
     147    explorer.packageExplorer.addModule("yage.gui.surface"); 
    138148 
    139149    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/demo1.main.html

    r35 r52  
    55    <meta http-equiv="content-type" content="text/html; charset=utf-8"> 
    66    <meta content="text/javascript" http-equiv="content-script-type"> 
    7     <title>demo1.main</title> 
     7    <title>demo2.main</title> 
    88    <link rel="stylesheet" type="text/css" href="css/default.css"> 
    99    <link rel="stylesheet" type="text/css" href="css/candydoc.css"> 
     
    7676        </td> 
    7777        <td valign="top" width="100%">     
    78             <div id="content"><script type="text/javascript">explorer.initialize("demo1.main");</script> 
     78            <div id="content"><script type="text/javascript">explorer.initialize("demo2.main");</script> 
    7979                <table class="content" width="100%"> 
    80                     <tr><td id="docbody"><h1>demo1.main</h1><!-- Generated by Ddoc from demo1\main.d --> 
     80                    <tr><td id="docbody"><h1>demo2.main</h1><!-- Generated by Ddoc from demo1\main.d --> 
    8181<b>Authors:</b><br> 
    8282Eric Poggel 
     
    106106        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    107107        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    108         on Sun Jul  8 23:04:54 2007 
     108        on Sat Jul 21 15:56:00 2007 
    109109 
    110110    </div> 
     
    119119    explorer.packageExplorer.addModule("yage.core.freelist"); 
    120120 
     121    explorer.packageExplorer.addModule("yage.core.math"); 
     122 
    121123    explorer.packageExplorer.addModule("yage.core.matrix"); 
    122124 
     
    133135    explorer.packageExplorer.addModule("yage.core.timer"); 
    134136 
     137    explorer.packageExplorer.addModule("yage.core.types"); 
     138 
    135139    explorer.packageExplorer.addModule("yage.core.vector"); 
    136140 
    137141    explorer.packageExplorer.addModule("yage.core.xml"); 
     142 
     143    explorer.packageExplorer.addModule("yage.gui.all"); 
     144 
     145    explorer.packageExplorer.addModule("yage.gui.style"); 
     146 
     147    explorer.packageExplorer.addModule("yage.gui.surface"); 
    138148 
    139149    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/demo1.ship.html

    r35 r52  
    106106        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    107107        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    108         on Sun Jul  8 23:04:54 2007 
     108        on Sat Jul 21 15:56:00 2007 
    109109 
    110110    </div> 
     
    119119    explorer.packageExplorer.addModule("yage.core.freelist"); 
    120120 
     121    explorer.packageExplorer.addModule("yage.core.math"); 
     122 
    121123    explorer.packageExplorer.addModule("yage.core.matrix"); 
    122124 
     
    133135    explorer.packageExplorer.addModule("yage.core.timer"); 
    134136 
     137    explorer.packageExplorer.addModule("yage.core.types"); 
     138 
    135139    explorer.packageExplorer.addModule("yage.core.vector"); 
    136140 
    137141    explorer.packageExplorer.addModule("yage.core.xml"); 
     142 
     143    explorer.packageExplorer.addModule("yage.gui.all"); 
     144 
     145    explorer.packageExplorer.addModule("yage.gui.style"); 
     146 
     147    explorer.packageExplorer.addModule("yage.gui.surface"); 
    138148 
    139149    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.all.html

    r35 r52  
    110110        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    111111        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    112         on Sun Jul  8 23:04:52 2007 
     112        on Sat Jul 21 15:55:59 2007 
    113113 
    114114    </div> 
     
    123123    explorer.packageExplorer.addModule("yage.core.freelist"); 
    124124 
     125    explorer.packageExplorer.addModule("yage.core.math"); 
     126 
    125127    explorer.packageExplorer.addModule("yage.core.matrix"); 
    126128 
     
    137139    explorer.packageExplorer.addModule("yage.core.timer"); 
    138140 
     141    explorer.packageExplorer.addModule("yage.core.types"); 
     142 
    139143    explorer.packageExplorer.addModule("yage.core.vector"); 
    140144 
    141145    explorer.packageExplorer.addModule("yage.core.xml"); 
     146 
     147    explorer.packageExplorer.addModule("yage.gui.all"); 
     148 
     149    explorer.packageExplorer.addModule("yage.gui.style"); 
     150 
     151    explorer.packageExplorer.addModule("yage.gui.surface"); 
    142152 
    143153    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.all.html

    r35 r52  
    111111        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    112112        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    113         on Sun Jul  8 23:04:52 2007 
     113        on Sat Jul 21 15:55:59 2007 
    114114 
    115115    </div> 
     
    124124    explorer.packageExplorer.addModule("yage.core.freelist"); 
    125125 
     126    explorer.packageExplorer.addModule("yage.core.math"); 
     127 
    126128    explorer.packageExplorer.addModule("yage.core.matrix"); 
    127129 
     
    138140    explorer.packageExplorer.addModule("yage.core.timer"); 
    139141 
     142    explorer.packageExplorer.addModule("yage.core.types"); 
     143 
    140144    explorer.packageExplorer.addModule("yage.core.vector"); 
    141145 
    142146    explorer.packageExplorer.addModule("yage.core.xml"); 
     147 
     148    explorer.packageExplorer.addModule("yage.gui.all"); 
     149 
     150    explorer.packageExplorer.addModule("yage.gui.style"); 
     151 
     152    explorer.packageExplorer.addModule("yage.gui.surface"); 
    143153 
    144154    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.array.html

    r35 r52  
    101101</pre> 
    102102<br><br> 
    103 $(DDOC_MODULE_MEMBERS  
     103 
     104<script type="text/javascript">explorer.outline.incSymbolLevel();</script> 
     105<dl> 
     106<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
     107<dt><span class="decl">T  
     108<span class="currsymbol">amax</span> 
     109<script type="text/javascript">explorer.outline.addDecl('amax');</script> 
     110(T)(T[] <span class="funcparam">array</span>); 
     111</span></dt> 
     112<script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
     113 
     114<dd>Return the maximum value of an array. 
     115<br><br> 
     116 
     117</dd> 
     118 
     119<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
     120<dt><span class="decl">T  
     121<span class="currsymbol">amin</span> 
     122<script type="text/javascript">explorer.outline.addDecl('amin');</script> 
     123(T)(T[] <span class="funcparam">array</span>); 
     124</span></dt> 
     125<script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
     126 
     127<dd>Return the minimum value of an array. 
     128<br><br> 
     129 
     130</dd> 
     131 
     132<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
     133<dt><span class="decl">bool  
     134<span class="currsymbol">ordered</span> 
     135<script type="text/javascript">explorer.outline.addDecl('ordered');</script> 
     136(T)(T[] <span class="funcparam">array</span>, bool <span class="funcparam">increasing</span> = true); 
     137<br>bool  
     138<span class="currsymbol"> 
     139<span class="currsymbol">ordered</span> 
     140<script type="text/javascript">explorer.outline.addDecl('ordered');</script> 
     141</span> 
     142<script type="text/javascript">explorer.outline.addDecl(' 
     143<span class="currsymbol">ordered</span> 
     144<script type="text/javascript">explorer.outline.addDecl('ordered');</script> 
     145');</script> 
     146(T,K)(T[] <span class="funcparam"><span class="funcparam">array</span></span>, bool <span class="funcparam"><span class="funcparam">increasing</span></span> = true, K delegate(T elem) <span class="funcparam"><span class="funcparam">getKey</span></span> = null); 
     147</span></dt> 
     148<script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
     149 
     150<dd>Is the array  
     151<span class="currsymbol">ordered</span> 
     152<script type="text/javascript">explorer.outline.addDecl('ordered');</script> 
     153
     154<br><br> 
     155<b>Params:</b><br> 
     156<table><tr> 
     157<td nowrap valign="top" style="padding-right: 8px">increasing</td> 
     158 
     159                
     160<td>Check for ordering by small to big.</td></tr> 
     161<tr> 
     162<td nowrap valign="top" style="padding-right: 8px">getKey</td> 
     163 
     164                
     165<td>a function to get a key.</td></tr> 
     166</table><br> 
     167<b>Example:</b><br> 
     168<pre class="d_code"> Timer[] array; 
     169 <font color=green>// ... fill array with new Timer() ... 
     170</font> array.<b>ordered</b>(<font color=blue>true</font>, (Timer a) { <font color=blue>return</font> a.get(); }); <font color=green>// should return true 
     171</font></pre> 
     172  
     173<br><br> 
     174 
     175</dd> 
    104176 
    105177<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
     
    207279<b>Example:</b><br> 
    208280<pre class="d_code"> Timer[] array; 
    209  // ... fill array with new Timer() ... 
    210  array.radixSort((Timer a) { return a.get(); }); 
    211  --------------------------------  
     281 <font color=green>// ... fill array with new Timer() ... 
     282</font> array.<b>radixSort</b>((Timer a) { <font color=blue>return</font> a.get(); }); 
    212283</pre> 
    213 <br><br> 
    214  
    215 </dd> 
     284  
     285<br><br> 
     286 
     287</dd> 
     288</dl> 
     289<script type="text/javascript">explorer.outline.decSymbolLevel();</script> 
     290 
     291 
    216292</td></tr> 
    217293                </table> 
     
    224300        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    225301        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    226         on Sun Jul  8 23:04:52 2007 
     302        on Sat Jul 21 15:55:59 2007 
    227303 
    228304    </div> 
     
    237313    explorer.packageExplorer.addModule("yage.core.freelist"); 
    238314 
     315    explorer.packageExplorer.addModule("yage.core.math"); 
     316 
    239317    explorer.packageExplorer.addModule("yage.core.matrix"); 
    240318 
     
    251329    explorer.packageExplorer.addModule("yage.core.timer"); 
    252330 
     331    explorer.packageExplorer.addModule("yage.core.types"); 
     332 
    253333    explorer.packageExplorer.addModule("yage.core.vector"); 
    254334 
    255335    explorer.packageExplorer.addModule("yage.core.xml"); 
     336 
     337    explorer.packageExplorer.addModule("yage.gui.all"); 
     338 
     339    explorer.packageExplorer.addModule("yage.gui.style"); 
     340 
     341    explorer.packageExplorer.addModule("yage.gui.surface"); 
    256342 
    257343    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.freelist.html

    r35 r52  
    165165        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    166166        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    167         on Sun Jul  8 23:04:52 2007 
     167        on Sat Jul 21 15:55:59 2007 
    168168 
    169169    </div> 
     
    178178    explorer.packageExplorer.addModule("yage.core.freelist"); 
    179179 
     180    explorer.packageExplorer.addModule("yage.core.math"); 
     181 
    180182    explorer.packageExplorer.addModule("yage.core.matrix"); 
    181183 
     
    192194    explorer.packageExplorer.addModule("yage.core.timer"); 
    193195 
     196    explorer.packageExplorer.addModule("yage.core.types"); 
     197 
    194198    explorer.packageExplorer.addModule("yage.core.vector"); 
    195199 
    196200    explorer.packageExplorer.addModule("yage.core.xml"); 
     201 
     202    explorer.packageExplorer.addModule("yage.gui.all"); 
     203 
     204    explorer.packageExplorer.addModule("yage.gui.style"); 
     205 
     206    explorer.packageExplorer.addModule("yage.gui.surface"); 
    197207 
    198208    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.matrix.html

    r35 r52  
    118118<dl> 
    119119<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    120 <dt><span class="decl">float[16]  
     120<dt><span class="decl">float[16u]  
    121121<span class="currsymbol">v</span> 
    122122<script type="text/javascript">explorer.outline.addDecl('v');</script> 
     
    681681<span class="currsymbol">set</span> 
    682682<script type="text/javascript">explorer.outline.addDecl('set');</script> 
    683 (float[16] <span class="funcparam">values</span>); 
     683(float[16u] <span class="funcparam">values</span>); 
    684684</span></dt> 
    685685<script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
     
    832832        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    833833        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    834         on Sun Jul  8 23:04:52 2007 
     834        on Sat Jul 21 15:55:59 2007 
    835835 
    836836    </div> 
     
    845845    explorer.packageExplorer.addModule("yage.core.freelist"); 
    846846 
     847    explorer.packageExplorer.addModule("yage.core.math"); 
     848 
    847849    explorer.packageExplorer.addModule("yage.core.matrix"); 
    848850 
     
    859861    explorer.packageExplorer.addModule("yage.core.timer"); 
    860862 
     863    explorer.packageExplorer.addModule("yage.core.types"); 
     864 
    861865    explorer.packageExplorer.addModule("yage.core.vector"); 
    862866 
    863867    explorer.packageExplorer.addModule("yage.core.xml"); 
     868 
     869    explorer.packageExplorer.addModule("yage.gui.all"); 
     870 
     871    explorer.packageExplorer.addModule("yage.gui.style"); 
     872 
     873    explorer.packageExplorer.addModule("yage.gui.surface"); 
    864874 
    865875    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.misc.html

    r35 r52  
    9494<dl> 
    9595<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    96 <dt><span class="decl">union  
    97 <span class="currsymbol">word</span> 
    98 <script type="text/javascript">explorer.outline.addDecl('word');</script> 
    99 ; 
    100 </span></dt> 
    101 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    102  
    103 <dd>Allow for easy bool-by-bool conversion from one two-byte type to another. 
    104 <br><br> 
    105 <b>Example:</b><br> 
    106 <pre class="d_code"> <font color=blue>short</font> a; 
    107  <b>word</b> w; 
    108  w.s = a; 
    109  <font color=blue>char</font> c = w.c[1];   <font color=green>// c is the second byte of a. 
    110 </font></pre> 
    111 <br><br> 
    112  
    113  
    114 <script type="text/javascript">explorer.outline.incSymbolLevel();</script> 
    115 <dl> 
    116 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    117 <dt><span class="decl">short  
    118 <span class="currsymbol">s</span> 
    119 <script type="text/javascript">explorer.outline.addDecl('s');</script> 
    120 ; 
    121 <br>ushort  
    122 <span class="currsymbol">us</span> 
    123 <script type="text/javascript">explorer.outline.addDecl('us');</script> 
    124 ; 
    125 <br>byte[2]  
    126 <span class="currsymbol">b</span> 
    127 <script type="text/javascript">explorer.outline.addDecl('b');</script> 
    128 ; 
    129 <br>ubyte[2]  
    130 <span class="currsymbol">ub</span> 
    131 <script type="text/javascript">explorer.outline.addDecl('ub');</script> 
    132 ; 
    133 <br>char[2]  
    134 <span class="currsymbol">c</span> 
    135 <script type="text/javascript">explorer.outline.addDecl('c');</script> 
    136 ; 
    137 </span></dt> 
    138 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    139  
    140 <dd>Union of various types. 
    141 <br><br> 
    142  
    143 </dd> 
    144  
    145 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    146 <dt><span class="decl">static word   
    147 <span class="currsymbol">opApply</span> 
    148 <script type="text/javascript">explorer.outline.addDecl('opApply');</script> 
    149 (ushort <span class="funcparam">us</span>); 
    150 </span></dt> 
    151 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    152  
    153 <dd>Convert ushort to word 
    154 <br><br> 
    155  
    156 </dd> 
    157 </dl> 
    158 <script type="text/javascript">explorer.outline.decSymbolLevel();</script> 
    159  
    160  
    161 </dd> 
    162  
    163 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    164 <dt><span class="decl">struct  
    165 <span class="currsymbol">dword</span> 
    166 <script type="text/javascript">explorer.outline.addDecl('dword');</script> 
    167 ; 
    168 </span></dt> 
    169 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    170  
    171 <dd>Allow for easy bool-by-bool conversion from one four-byte type to another 
    172 <br><br> 
    173  
    174  
    175 <script type="text/javascript">explorer.outline.incSymbolLevel();</script> 
    176 <dl> 
    177 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    178 <dt><span class="decl">int  
    179 <span class="currsymbol">i</span> 
    180 <script type="text/javascript">explorer.outline.addDecl('i');</script> 
    181 ; 
    182 <br>uint  
    183 <span class="currsymbol">ui</span> 
    184 <script type="text/javascript">explorer.outline.addDecl('ui');</script> 
    185 ; 
    186 <br>float  
    187 <span class="currsymbol">f</span> 
    188 <script type="text/javascript">explorer.outline.addDecl('f');</script> 
    189 ; 
    190 <br>short[2]  
    191 <span class="currsymbol">s</span> 
    192 <script type="text/javascript">explorer.outline.addDecl('s');</script> 
    193 ; 
    194 <br>ushort[2]  
    195 <span class="currsymbol">us</span> 
    196 <script type="text/javascript">explorer.outline.addDecl('us');</script> 
    197 ; 
    198 <br>byte[4]  
    199 <span class="currsymbol">b</span> 
    200 <script type="text/javascript">explorer.outline.addDecl('b');</script> 
    201 ; 
    202 <br>ubyte[4]  
    203 <span class="currsymbol">ub</span> 
    204 <script type="text/javascript">explorer.outline.addDecl('ub');</script> 
    205 ; 
    206 <br>char[4]  
    207 <span class="currsymbol">c</span> 
    208 <script type="text/javascript">explorer.outline.addDecl('c');</script> 
    209 ; 
    210 </span></dt> 
    211 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    212  
    213 <dd>Union of various types. 
    214 <br><br> 
    215  
    216 </dd> 
    217  
    218 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    219 <dt><span class="decl">static dword   
    220 <span class="currsymbol">opApply</span> 
    221 <script type="text/javascript">explorer.outline.addDecl('opApply');</script> 
    222 (uint <span class="funcparam">ui</span>); 
    223 </span></dt> 
    224 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    225  
    226 <dd>Convert uint to dword 
    227 <br><br> 
    228  
    229 </dd> 
    230 </dl> 
    231 <script type="text/javascript">explorer.outline.decSymbolLevel();</script> 
    232  
    233  
    234 </dd> 
    235  
    236 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    237 <dt><span class="decl">union  
    238 <span class="currsymbol">qword</span> 
    239 <script type="text/javascript">explorer.outline.addDecl('qword');</script> 
    240 ; 
    241 </span></dt> 
    242 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    243  
    244 <dd>Allow for easy bool-by-bool conversion from one eight-byte type to another. 
    245 <br><br> 
    246  
    247  
    248 <script type="text/javascript">explorer.outline.incSymbolLevel();</script> 
    249 <dl> 
    250 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    251 <dt><span class="decl">long  
    252 <span class="currsymbol">l</span> 
    253 <script type="text/javascript">explorer.outline.addDecl('l');</script> 
    254 ; 
    255 <br>ulong  
    256 <span class="currsymbol">ul</span> 
    257 <script type="text/javascript">explorer.outline.addDecl('ul');</script> 
    258 ; 
    259 <br>double  
    260 <span class="currsymbol">d</span> 
    261 <script type="text/javascript">explorer.outline.addDecl('d');</script> 
    262 ; 
    263 <br>float[2]  
    264 <span class="currsymbol">f</span> 
    265 <script type="text/javascript">explorer.outline.addDecl('f');</script> 
    266 ; 
    267 <br>int[2]  
    268 <span class="currsymbol">i</span> 
    269 <script type="text/javascript">explorer.outline.addDecl('i');</script> 
    270 ; 
    271 <br>uint[2]  
    272 <span class="currsymbol">ui</span> 
    273 <script type="text/javascript">explorer.outline.addDecl('ui');</script> 
    274 ; 
    275 <br>short[4]  
    276 <span class="currsymbol">s</span> 
    277 <script type="text/javascript">explorer.outline.addDecl('s');</script> 
    278 ; 
    279 <br>ushort[4]  
    280 <span class="currsymbol">us</span> 
    281 <script type="text/javascript">explorer.outline.addDecl('us');</script> 
    282 ; 
    283 <br>byte[8]  
    284 <span class="currsymbol">b</span> 
    285 <script type="text/javascript">explorer.outline.addDecl('b');</script> 
    286 ; 
    287 <br>ubyte[8]  
    288 <span class="currsymbol">ub</span> 
    289 <script type="text/javascript">explorer.outline.addDecl('ub');</script> 
    290 ; 
    291 <br>char[8]  
    292 <span class="currsymbol">c</span> 
    293 <script type="text/javascript">explorer.outline.addDecl('c');</script> 
    294 ; 
    295 </span></dt> 
    296 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    297  
    298 <dd>Union of various types. 
    299 <br><br> 
    300  
    301 </dd> 
    302 </dl> 
    303 <script type="text/javascript">explorer.outline.decSymbolLevel();</script> 
    304  
    305  
    306 </dd> 
    307  
    308 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    309 <dt><span class="decl">bool  
    310 <span class="currsymbol">almostEqual</span> 
    311 <script type="text/javascript">explorer.outline.addDecl('almostEqual');</script> 
    312 (float <span class="funcparam">a</span>, float <span class="funcparam">b</span>, float <span class="funcparam">fudge</span> = 0.0001F); 
    313 </span></dt> 
    314 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    315  
    316 <dd>Check if two floats are almost equal, that is, they differ no more than 
    317  <span class="funcparam">fudge</span> from one another, relatively speaking.  If <span class="funcparam">fudge</span> is 0.0001 (the default) 
    318  Then 10000 and 10001 will compare equally and so will 1.000 and 1.0001; but if 
    319  either of those differ more, they are not considered equal.  Also, 
    320  numbers with an absolute difference less than or equal to <span class="funcparam">fudge</span> will always 
    321  compare equal.  This allows 0.00001 and 0 to be almost equal.  
    322 <br><br> 
    323  
    324 </dd> 
    325  
    326 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    32796<dt><span class="decl">char[]  
    32897<span class="currsymbol">absPath</span> 
     
    338107 
    339108<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    340 <dt><span class="decl">T  
    341 <span class="currsymbol">clamp</span> 
    342 <script type="text/javascript">explorer.outline.addDecl('clamp');</script> 
    343 (T)(T <span class="funcparam">v</span>, T <span class="funcparam">lower</span>, T <span class="funcparam">upper</span>); 
    344 </span></dt> 
    345 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    346  
    347 <dd>Clamp v between l and u 
    348 <br><br> 
    349  
    350 </dd> 
    351  
    352 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    353109<dt><span class="decl">char[]  
    354110<span class="currsymbol">cleanPath</span> 
     
    365121 
    366122<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    367 <dt><span class="decl">uint  
    368 <span class="currsymbol">nextPow2</span> 
    369 <script type="text/javascript">explorer.outline.addDecl('nextPow2');</script> 
    370 (uint <span class="funcparam">input</span>); 
    371 </span></dt> 
    372 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    373  
    374 <dd>Returns the first integer n such that 2^n &gt;= <span class="funcparam">input</span>. 
    375 <br><br> 
    376 <b>Example:</b><br> 
    377  
    378 <span class="currsymbol">nextPow2</span> 
    379 <script type="text/javascript">explorer.outline.addDecl('nextPow2');</script> 
    380 (9); // returns 16  
    381 <br><br> 
    382  
    383 </dd> 
    384  
    385 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    386 <dt><span class="decl">float  
    387 <span class="currsymbol">map</span> 
    388 <script type="text/javascript">explorer.outline.addDecl('map');</script> 
    389 (float <span class="funcparam">v</span>, float <span class="funcparam">oldmin</span>, float <span class="funcparam">oldmax</span>, float <span class="funcparam">newmin</span>, float <span class="funcparam">newmax</span>); 
    390 </span></dt> 
    391 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    392  
    393 <dd>Map a value from one range to another 
    394 <br><br> 
    395  
    396 </dd> 
    397  
    398 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    399 <dt><span class="decl">T[0]  
    400 <span class="currsymbol">max</span> 
    401 <script type="text/javascript">explorer.outline.addDecl('max');</script> 
    402 (T...)(T <span class="funcparam">a</span>); 
    403 </span></dt> 
    404 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    405  
    406 <dd>Return the maximum of all arguments  
    407 <br><br> 
    408  
    409 </dd> 
    410  
    411 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    412 <dt><span class="decl">T[0]  
    413 <span class="currsymbol">min</span> 
    414 <script type="text/javascript">explorer.outline.addDecl('min');</script> 
    415 (T...)(T <span class="funcparam">a</span>); 
    416 </span></dt> 
    417 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    418  
    419 <dd>Return the minimum of all arguments. 
    420 <br><br> 
    421  
    422 </dd> 
    423  
    424 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    425123<dt><span class="decl">long  
    426124<span class="currsymbol">getCPUCount</span> 
     
    442140 
    443141<dd>Print out the bools that make <span class="funcparam">a</span> 32-bool number 
    444 <br><br> 
    445  
    446 </dd> 
    447  
    448 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    449 <dt><span class="decl">float  
    450 <span class="currsymbol">random</span> 
    451 <script type="text/javascript">explorer.outline.addDecl('random');</script> 
    452 (float <span class="funcparam">min</span>, float <span class="funcparam">max</span>); 
    453 </span></dt> 
    454 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    455  
    456 <dd>Generate a  
    457 <span class="currsymbol">random</span> 
    458 <script type="text/javascript">explorer.outline.addDecl('random');</script> 
    459  number between <span class="funcparam">min</span> and <span class="funcparam">max</span>. 
    460142<br><br> 
    461143 
     
    475157        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    476158        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    477         on Sun Jul  8 23:04:52 2007 
     159        on Sat Jul 21 15:55:59 2007 
    478160 
    479161    </div> 
     
    488170    explorer.packageExplorer.addModule("yage.core.freelist"); 
    489171 
     172    explorer.packageExplorer.addModule("yage.core.math"); 
     173 
    490174    explorer.packageExplorer.addModule("yage.core.matrix"); 
    491175 
     
    502186    explorer.packageExplorer.addModule("yage.core.timer"); 
    503187 
     188    explorer.packageExplorer.addModule("yage.core.types"); 
     189 
    504190    explorer.packageExplorer.addModule("yage.core.vector"); 
    505191 
    506192    explorer.packageExplorer.addModule("yage.core.xml"); 
     193 
     194    explorer.packageExplorer.addModule("yage.gui.all"); 
     195 
     196    explorer.packageExplorer.addModule("yage.gui.style"); 
     197 
     198    explorer.packageExplorer.addModule("yage.gui.surface"); 
    507199 
    508200    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.parse.html

    r35 r52  
    222222        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    223223        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    224         on Sun Jul  8 23:04:52 2007 
     224        on Sat Jul 21 15:55:59 2007 
    225225 
    226226    </div> 
     
    235235    explorer.packageExplorer.addModule("yage.core.freelist"); 
    236236 
     237    explorer.packageExplorer.addModule("yage.core.math"); 
     238 
    237239    explorer.packageExplorer.addModule("yage.core.matrix"); 
    238240 
     
    249251    explorer.packageExplorer.addModule("yage.core.timer"); 
    250252 
     253    explorer.packageExplorer.addModule("yage.core.types"); 
     254 
    251255    explorer.packageExplorer.addModule("yage.core.vector"); 
    252256 
    253257    explorer.packageExplorer.addModule("yage.core.xml"); 
     258 
     259    explorer.packageExplorer.addModule("yage.gui.all"); 
     260 
     261    explorer.packageExplorer.addModule("yage.gui.style"); 
     262 
     263    explorer.packageExplorer.addModule("yage.gui.surface"); 
    254264 
    255265    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.plane.html

    r35 r52  
    278278        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    279279        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    280         on Sun Jul  8 23:04:52 2007 
     280        on Sat Jul 21 15:55:59 2007 
    281281 
    282282    </div> 
     
    291291    explorer.packageExplorer.addModule("yage.core.freelist"); 
    292292 
     293    explorer.packageExplorer.addModule("yage.core.math"); 
     294 
    293295    explorer.packageExplorer.addModule("yage.core.matrix"); 
    294296 
     
    305307    explorer.packageExplorer.addModule("yage.core.timer"); 
    306308 
     309    explorer.packageExplorer.addModule("yage.core.types"); 
     310 
    307311    explorer.packageExplorer.addModule("yage.core.vector"); 
    308312 
    309313    explorer.packageExplorer.addModule("yage.core.xml"); 
     314 
     315    explorer.packageExplorer.addModule("yage.gui.all"); 
     316 
     317    explorer.packageExplorer.addModule("yage.gui.style"); 
     318 
     319    explorer.packageExplorer.addModule("yage.gui.surface"); 
    310320 
    311321    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.quatrn.html

    r35 r52  
    471471        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    472472        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    473         on Sun Jul  8 23:04:52 2007 
     473        on Sat Jul 21 15:55:59 2007 
    474474 
    475475    </div> 
     
    484484    explorer.packageExplorer.addModule("yage.core.freelist"); 
    485485 
     486    explorer.packageExplorer.addModule("yage.core.math"); 
     487 
    486488    explorer.packageExplorer.addModule("yage.core.matrix"); 
    487489 
     
    498500    explorer.packageExplorer.addModule("yage.core.timer"); 
    499501 
     502    explorer.packageExplorer.addModule("yage.core.types"); 
     503 
    500504    explorer.packageExplorer.addModule("yage.core.vector"); 
    501505 
    502506    explorer.packageExplorer.addModule("yage.core.xml"); 
     507 
     508    explorer.packageExplorer.addModule("yage.gui.all"); 
     509 
     510    explorer.packageExplorer.addModule("yage.gui.style"); 
     511 
     512    explorer.packageExplorer.addModule("yage.gui.surface"); 
    503513 
    504514    explorer.packageExplorer.addModule("yage.node.all"); 
  • trunk/doc/api/yage.core.repeater.html