Changeset 52
- Timestamp:
- 07/21/07 15:59:15 (1 year ago)
- Files:
-
- trunk/bin/yage3d.exe (modified) (previous)
- trunk/doc/api/demo1.gameobj.html (modified) (3 diffs)
- trunk/doc/api/demo1.main.html (modified) (5 diffs)
- trunk/doc/api/demo1.ship.html (modified) (3 diffs)
- trunk/doc/api/yage.all.html (modified) (3 diffs)
- trunk/doc/api/yage.core.all.html (modified) (3 diffs)
- trunk/doc/api/yage.core.array.html (modified) (5 diffs)
- trunk/doc/api/yage.core.freelist.html (modified) (3 diffs)
- trunk/doc/api/yage.core.math.html (added)
- trunk/doc/api/yage.core.matrix.html (modified) (5 diffs)
- trunk/doc/api/yage.core.misc.html (modified) (7 diffs)
- trunk/doc/api/yage.core.parse.html (modified) (3 diffs)
- trunk/doc/api/yage.core.plane.html (modified) (3 diffs)
- trunk/doc/api/yage.core.quatrn.html (modified) (3 diffs)
- trunk/doc/api/yage.core.repeater.html (modified) (3 diffs)
- trunk/doc/api/yage.core.timer.html (modified) (3 diffs)
- trunk/doc/api/yage.core.types.html (added)
- trunk/doc/api/yage.core.vector.html (modified) (4 diffs)
- trunk/doc/api/yage.core.xml.html (modified) (3 diffs)
- trunk/doc/api/yage.gui.all.html (added)
- trunk/doc/api/yage.gui.style.html (added)
- trunk/doc/api/yage.gui.surface.html (added)
- trunk/doc/api/yage.node.all.html (modified) (3 diffs)
- trunk/doc/api/yage.node.base.html (modified) (3 diffs)
- trunk/doc/api/yage.node.camera.html (modified) (4 diffs)
- trunk/doc/api/yage.node.graph.html (modified) (3 diffs)
- trunk/doc/api/yage.node.light.html (modified) (3 diffs)
- trunk/doc/api/yage.node.model.html (modified) (3 diffs)
- trunk/doc/api/yage.node.moveable.html (modified) (3 diffs)
- trunk/doc/api/yage.node.node.html (modified) (3 diffs)
- trunk/doc/api/yage.node.scene.html (modified) (3 diffs)
- trunk/doc/api/yage.node.sound.html (modified) (3 diffs)
- trunk/doc/api/yage.node.sprite.html (modified) (3 diffs)
- trunk/doc/api/yage.node.terrain.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.all.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.image.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.layer.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.material.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.mesh.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.model.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.modelloader.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.resource.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.shader.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.sound.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.texture.html (modified) (4 diffs)
- trunk/doc/api/yage.system.all.html (modified) (3 diffs)
- trunk/doc/api/yage.system.constant.html (modified) (3 diffs)
- trunk/doc/api/yage.system.device.html (modified) (5 diffs)
- trunk/doc/api/yage.system.input.html (modified) (7 diffs)
- trunk/doc/api/yage.system.log.html (modified) (3 diffs)
- trunk/doc/api/yage.system.render.html (modified) (3 diffs)
- trunk/doc/api/yage.util.all.html (modified) (3 diffs)
- trunk/doc/api/yage.util.flyer.html (modified) (3 diffs)
- trunk/doc/api/yage.util.misc.html (modified) (3 diffs)
- trunk/doc/api/yage.util.spring.html (modified) (3 diffs)
- trunk/src/yage/core/array.d (modified) (1 diff)
- trunk/src/yage/core/types.d (modified) (8 diffs)
- trunk/src/yage/gui/style.d (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/doc/api/demo1.gameobj.html
r35 r52 106 106 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 107 107 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 108 on S un Jul 8 23:04:542007108 on Sat Jul 21 15:56:00 2007 109 109 110 110 </div> … … 119 119 explorer.packageExplorer.addModule("yage.core.freelist"); 120 120 121 explorer.packageExplorer.addModule("yage.core.math"); 122 121 123 explorer.packageExplorer.addModule("yage.core.matrix"); 122 124 … … 133 135 explorer.packageExplorer.addModule("yage.core.timer"); 134 136 137 explorer.packageExplorer.addModule("yage.core.types"); 138 135 139 explorer.packageExplorer.addModule("yage.core.vector"); 136 140 137 141 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"); 138 148 139 149 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/demo1.main.html
r35 r52 5 5 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 6 6 <meta content="text/javascript" http-equiv="content-script-type"> 7 <title>demo 1.main</title>7 <title>demo2.main</title> 8 8 <link rel="stylesheet" type="text/css" href="css/default.css"> 9 9 <link rel="stylesheet" type="text/css" href="css/candydoc.css"> … … 76 76 </td> 77 77 <td valign="top" width="100%"> 78 <div id="content"><script type="text/javascript">explorer.initialize("demo 1.main");</script>78 <div id="content"><script type="text/javascript">explorer.initialize("demo2.main");</script> 79 79 <table class="content" width="100%"> 80 <tr><td id="docbody"><h1>demo 1.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 --> 81 81 <b>Authors:</b><br> 82 82 Eric Poggel … … 106 106 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 107 107 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 108 on S un Jul 8 23:04:542007108 on Sat Jul 21 15:56:00 2007 109 109 110 110 </div> … … 119 119 explorer.packageExplorer.addModule("yage.core.freelist"); 120 120 121 explorer.packageExplorer.addModule("yage.core.math"); 122 121 123 explorer.packageExplorer.addModule("yage.core.matrix"); 122 124 … … 133 135 explorer.packageExplorer.addModule("yage.core.timer"); 134 136 137 explorer.packageExplorer.addModule("yage.core.types"); 138 135 139 explorer.packageExplorer.addModule("yage.core.vector"); 136 140 137 141 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"); 138 148 139 149 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/demo1.ship.html
r35 r52 106 106 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 107 107 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 108 on S un Jul 8 23:04:542007108 on Sat Jul 21 15:56:00 2007 109 109 110 110 </div> … … 119 119 explorer.packageExplorer.addModule("yage.core.freelist"); 120 120 121 explorer.packageExplorer.addModule("yage.core.math"); 122 121 123 explorer.packageExplorer.addModule("yage.core.matrix"); 122 124 … … 133 135 explorer.packageExplorer.addModule("yage.core.timer"); 134 136 137 explorer.packageExplorer.addModule("yage.core.types"); 138 135 139 explorer.packageExplorer.addModule("yage.core.vector"); 136 140 137 141 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"); 138 148 139 149 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.all.html
r35 r52 110 110 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 111 111 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 112 on S un Jul 8 23:04:522007112 on Sat Jul 21 15:55:59 2007 113 113 114 114 </div> … … 123 123 explorer.packageExplorer.addModule("yage.core.freelist"); 124 124 125 explorer.packageExplorer.addModule("yage.core.math"); 126 125 127 explorer.packageExplorer.addModule("yage.core.matrix"); 126 128 … … 137 139 explorer.packageExplorer.addModule("yage.core.timer"); 138 140 141 explorer.packageExplorer.addModule("yage.core.types"); 142 139 143 explorer.packageExplorer.addModule("yage.core.vector"); 140 144 141 145 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"); 142 152 143 153 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.all.html
r35 r52 111 111 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 112 112 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 113 on S un Jul 8 23:04:522007113 on Sat Jul 21 15:55:59 2007 114 114 115 115 </div> … … 124 124 explorer.packageExplorer.addModule("yage.core.freelist"); 125 125 126 explorer.packageExplorer.addModule("yage.core.math"); 127 126 128 explorer.packageExplorer.addModule("yage.core.matrix"); 127 129 … … 138 140 explorer.packageExplorer.addModule("yage.core.timer"); 139 141 142 explorer.packageExplorer.addModule("yage.core.types"); 143 140 144 explorer.packageExplorer.addModule("yage.core.vector"); 141 145 142 146 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"); 143 153 144 154 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.array.html
r35 r52 101 101 </pre> 102 102 <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> 104 176 105 177 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> … … 207 279 <b>Example:</b><br> 208 280 <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(); }); 212 283 </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 216 292 </td></tr> 217 293 </table> … … 224 300 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 225 301 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 226 on S un Jul 8 23:04:522007302 on Sat Jul 21 15:55:59 2007 227 303 228 304 </div> … … 237 313 explorer.packageExplorer.addModule("yage.core.freelist"); 238 314 315 explorer.packageExplorer.addModule("yage.core.math"); 316 239 317 explorer.packageExplorer.addModule("yage.core.matrix"); 240 318 … … 251 329 explorer.packageExplorer.addModule("yage.core.timer"); 252 330 331 explorer.packageExplorer.addModule("yage.core.types"); 332 253 333 explorer.packageExplorer.addModule("yage.core.vector"); 254 334 255 335 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"); 256 342 257 343 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.freelist.html
r35 r52 165 165 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 166 166 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 167 on S un Jul 8 23:04:522007167 on Sat Jul 21 15:55:59 2007 168 168 169 169 </div> … … 178 178 explorer.packageExplorer.addModule("yage.core.freelist"); 179 179 180 explorer.packageExplorer.addModule("yage.core.math"); 181 180 182 explorer.packageExplorer.addModule("yage.core.matrix"); 181 183 … … 192 194 explorer.packageExplorer.addModule("yage.core.timer"); 193 195 196 explorer.packageExplorer.addModule("yage.core.types"); 197 194 198 explorer.packageExplorer.addModule("yage.core.vector"); 195 199 196 200 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"); 197 207 198 208 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.matrix.html
r35 r52 118 118 <dl> 119 119 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 120 <dt><span class="decl">float[16 ]120 <dt><span class="decl">float[16u] 121 121 <span class="currsymbol">v</span> 122 122 <script type="text/javascript">explorer.outline.addDecl('v');</script> … … 681 681 <span class="currsymbol">set</span> 682 682 <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>); 684 684 </span></dt> 685 685 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> … … 832 832 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 833 833 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 834 on S un Jul 8 23:04:522007834 on Sat Jul 21 15:55:59 2007 835 835 836 836 </div> … … 845 845 explorer.packageExplorer.addModule("yage.core.freelist"); 846 846 847 explorer.packageExplorer.addModule("yage.core.math"); 848 847 849 explorer.packageExplorer.addModule("yage.core.matrix"); 848 850 … … 859 861 explorer.packageExplorer.addModule("yage.core.timer"); 860 862 863 explorer.packageExplorer.addModule("yage.core.types"); 864 861 865 explorer.packageExplorer.addModule("yage.core.vector"); 862 866 863 867 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"); 864 874 865 875 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.misc.html
r35 r52 94 94 <dl> 95 95 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 96 <dt><span class="decl">union97 <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">short118 <span class="currsymbol">s</span>119 <script type="text/javascript">explorer.outline.addDecl('s');</script>120 ;121 <br>ushort122 <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 word147 <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 word154 <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">struct165 <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 another172 <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">int179 <span class="currsymbol">i</span>180 <script type="text/javascript">explorer.outline.addDecl('i');</script>181 ;182 <br>uint183 <span class="currsymbol">ui</span>184 <script type="text/javascript">explorer.outline.addDecl('ui');</script>185 ;186 <br>float187 <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 dword220 <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 dword227 <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">union238 <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">long252 <span class="currsymbol">l</span>253 <script type="text/javascript">explorer.outline.addDecl('l');</script>254 ;255 <br>ulong256 <span class="currsymbol">ul</span>257 <script type="text/javascript">explorer.outline.addDecl('ul');</script>258 ;259 <br>double260 <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">bool310 <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 than317 <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 if319 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 always321 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>327 96 <dt><span class="decl">char[] 328 97 <span class="currsymbol">absPath</span> … … 338 107 339 108 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 340 <dt><span class="decl">T341 <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 u348 <br><br>349 350 </dd>351 352 <script type="text/javascript">explorer.outline.writeEnabled = true;</script>353 109 <dt><span class="decl">char[] 354 110 <span class="currsymbol">cleanPath</span> … … 365 121 366 122 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 367 <dt><span class="decl">uint368 <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 >= <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 16381 <br><br>382 383 </dd>384 385 <script type="text/javascript">explorer.outline.writeEnabled = true;</script>386 <dt><span class="decl">float387 <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 another394 <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 arguments407 <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>425 123 <dt><span class="decl">long 426 124 <span class="currsymbol">getCPUCount</span> … … 442 140 443 141 <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">float450 <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 a457 <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>.460 142 <br><br> 461 143 … … 475 157 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 476 158 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 477 on S un Jul 8 23:04:522007159 on Sat Jul 21 15:55:59 2007 478 160 479 161 </div> … … 488 170 explorer.packageExplorer.addModule("yage.core.freelist"); 489 171 172 explorer.packageExplorer.addModule("yage.core.math"); 173 490 174 explorer.packageExplorer.addModule("yage.core.matrix"); 491 175 … … 502 186 explorer.packageExplorer.addModule("yage.core.timer"); 503 187 188 explorer.packageExplorer.addModule("yage.core.types"); 189 504 190 explorer.packageExplorer.addModule("yage.core.vector"); 505 191 506 192 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"); 507 199 508 200 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.parse.html
r35 r52 222 222 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 223 223 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 224 on S un Jul 8 23:04:522007224 on Sat Jul 21 15:55:59 2007 225 225 226 226 </div> … … 235 235 explorer.packageExplorer.addModule("yage.core.freelist"); 236 236 237 explorer.packageExplorer.addModule("yage.core.math"); 238 237 239 explorer.packageExplorer.addModule("yage.core.matrix"); 238 240 … … 249 251 explorer.packageExplorer.addModule("yage.core.timer"); 250 252 253 explorer.packageExplorer.addModule("yage.core.types"); 254 251 255 explorer.packageExplorer.addModule("yage.core.vector"); 252 256 253 257 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"); 254 264 255 265 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.plane.html
r35 r52 278 278 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 279 279 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 280 on S un Jul 8 23:04:522007280 on Sat Jul 21 15:55:59 2007 281 281 282 282 </div> … … 291 291 explorer.packageExplorer.addModule("yage.core.freelist"); 292 292 293 explorer.packageExplorer.addModule("yage.core.math"); 294 293 295 explorer.packageExplorer.addModule("yage.core.matrix"); 294 296 … … 305 307 explorer.packageExplorer.addModule("yage.core.timer"); 306 308 309 explorer.packageExplorer.addModule("yage.core.types"); 310 307 311 explorer.packageExplorer.addModule("yage.core.vector"); 308 312 309 313 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"); 310 320 311 321 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.quatrn.html
r35 r52 471 471 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 472 472 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 473 on S un Jul 8 23:04:522007473 on Sat Jul 21 15:55:59 2007 474 474 475 475 </div> … … 484 484 explorer.packageExplorer.addModule("yage.core.freelist"); 485 485 486 explorer.packageExplorer.addModule("yage.core.math"); 487 486 488 explorer.packageExplorer.addModule("yage.core.matrix"); 487 489 … … 498 500 explorer.packageExplorer.addModule("yage.core.timer"); 499 501 502 explorer.packageExplorer.addModule("yage.core.types"); 503 500 504 explorer.packageExplorer.addModule("yage.core.vector"); 501 505 502 506 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"); 503 513 504 514 explorer.packageExplorer.addModule("yage.node.all"); trunk/doc/api/yage.core.repeater.html
