Changeset 19
- Timestamp:
- 02/04/07 00:23:14 (2 years ago)
- Files:
-
- trunk/bin/yage.exe (modified) (previous)
- trunk/doc/api/index.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.freelist.html (modified) (3 diffs)
- trunk/doc/api/yage.core.horde.html (modified) (4 diffs)
- trunk/doc/api/yage.core.matrix.html (modified) (4 diffs)
- trunk/doc/api/yage.core.misc.html (modified) (3 diffs)
- trunk/doc/api/yage.core.plane.html (modified) (4 diffs)
- trunk/doc/api/yage.core.quatrn.html (modified) (4 diffs)
- trunk/doc/api/yage.core.timer.html (modified) (3 diffs)
- trunk/doc/api/yage.core.tree.html (modified) (3 diffs)
- trunk/doc/api/yage.core.vector.html (modified) (6 diffs)
- trunk/doc/api/yage.core.xml.html (modified) (3 diffs)
- trunk/doc/api/yage.gameobj.html (modified) (3 diffs)
- trunk/doc/api/yage.main.html (modified) (3 diffs)
- trunk/doc/api/yage.node.all.html (modified) (3 diffs)
- trunk/doc/api/yage.node.basenode.html (modified) (6 diffs)
- trunk/doc/api/yage.node.camera.html (modified) (8 diffs)
- trunk/doc/api/yage.node.graph.html (modified) (5 diffs)
- trunk/doc/api/yage.node.light.html (modified) (6 diffs)
- trunk/doc/api/yage.node.model.html (modified) (6 diffs)
- trunk/doc/api/yage.node.moveable.html (added)
- trunk/doc/api/yage.node.node.html (modified) (11 diffs)
- trunk/doc/api/yage.node.scene.html (modified) (10 diffs)
- trunk/doc/api/yage.node.sound.html (modified) (4 diffs)
- trunk/doc/api/yage.node.sprite.html (modified) (4 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) (4 diffs)
- trunk/doc/api/yage.resource.material.html (modified) (3 diffs)
- trunk/doc/api/yage.resource.mesh.html (added)
- trunk/doc/api/yage.resource.model.html (modified) (7 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) (3 diffs)
- trunk/doc/api/yage.ship.html (modified) (3 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) (4 diffs)
- trunk/doc/api/yage.system.input.html (modified) (3 diffs)
- trunk/doc/api/yage.system.log.html (modified) (3 diffs)
- trunk/doc/api/yage.system.render.html (modified) (8 diffs)
- trunk/doc/api/yage.universe.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.repeater.html (modified) (3 diffs)
- trunk/doc/api/yage.util.spring.html (modified) (3 diffs)
- trunk/doc/ref/delegate.d (added)
- trunk/proj/buildme.d (modified) (3 diffs)
- trunk/proj/yage.cbp (modified) (1 diff)
- trunk/proj/yage.depend (modified) (29 diffs)
- trunk/proj/yage.layout (modified) (1 diff)
- trunk/proj/yage.map (modified) (2 diffs)
- trunk/res/space/asteroid1.xml (modified) (1 diff)
- trunk/src/yage/core/matrix.d (modified) (1 diff)
- trunk/src/yage/core/plane.d (modified) (2 diffs)
- trunk/src/yage/core/quatrn.d (modified) (1 diff)
- trunk/src/yage/core/vector.d (modified) (4 diffs)
- trunk/src/yage/gameobj.d (modified) (3 diffs)
- trunk/src/yage/main.d (modified) (3 diffs)
- trunk/src/yage/node/basenode.d (modified) (1 diff)
- trunk/src/yage/node/camera.d (modified) (6 diffs)
- trunk/src/yage/node/graph.d (modified) (4 diffs)
- trunk/src/yage/node/light.d (modified) (3 diffs)
- trunk/src/yage/node/model.d (modified) (3 diffs)
- trunk/src/yage/node/moveable.d (added)
- trunk/src/yage/node/node.d (modified) (8 diffs)
- trunk/src/yage/node/scene.d (modified) (3 diffs)
- trunk/src/yage/node/sound.d (modified) (2 diffs)
- trunk/src/yage/node/sprite.d (modified) (4 diffs)
- trunk/src/yage/resource/layer.d (modified) (6 diffs)
- trunk/src/yage/resource/mesh.d (added)
- trunk/src/yage/resource/model.d (modified) (10 diffs)
- trunk/src/yage/ship.d (modified) (3 diffs)
- trunk/src/yage/system/device.d (modified) (3 diffs)
- trunk/src/yage/system/render.d (modified) (2 diffs)
- trunk/src/yage/universe.d (modified) (4 diffs)
- trunk/src/yage/util/flyer.d (modified) (2 diffs)
- trunk/src/yage/util/misc.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/doc/api/index.html
r17 r19 100 100 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 101 101 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 102 on S at Jan 27 13:55:252007102 on Sun Feb 4 00:19:17 2007 103 103 104 104 </div> … … 147 147 explorer.packageExplorer.addModule("yage.node.model"); 148 148 149 explorer.packageExplorer.addModule("yage.node.moveable"); 150 149 151 explorer.packageExplorer.addModule("yage.node.node"); 150 152 … … 162 164 163 165 explorer.packageExplorer.addModule("yage.resource.material"); 166 167 explorer.packageExplorer.addModule("yage.resource.mesh"); 164 168 165 169 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.all.html
r17 r19 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 at Jan 27 13:55:252007112 on Sun Feb 4 00:19:17 2007 113 113 114 114 </div> … … 157 157 explorer.packageExplorer.addModule("yage.node.model"); 158 158 159 explorer.packageExplorer.addModule("yage.node.moveable"); 160 159 161 explorer.packageExplorer.addModule("yage.node.node"); 160 162 … … 172 174 173 175 explorer.packageExplorer.addModule("yage.resource.material"); 176 177 explorer.packageExplorer.addModule("yage.resource.mesh"); 174 178 175 179 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.all.html
r17 r19 115 115 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 116 116 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 117 on S at Jan 27 13:55:252007117 on Sun Feb 4 00:19:17 2007 118 118 119 119 </div> … … 162 162 explorer.packageExplorer.addModule("yage.node.model"); 163 163 164 explorer.packageExplorer.addModule("yage.node.moveable"); 165 164 166 explorer.packageExplorer.addModule("yage.node.node"); 165 167 … … 177 179 178 180 explorer.packageExplorer.addModule("yage.resource.material"); 181 182 explorer.packageExplorer.addModule("yage.resource.mesh"); 179 183 180 184 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.freelist.html
r17 r19 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 at Jan 27 13:55:252007167 on Sun Feb 4 00:19:17 2007 168 168 169 169 </div> … … 212 212 explorer.packageExplorer.addModule("yage.node.model"); 213 213 214 explorer.packageExplorer.addModule("yage.node.moveable"); 215 214 216 explorer.packageExplorer.addModule("yage.node.node"); 215 217 … … 227 229 228 230 explorer.packageExplorer.addModule("yage.resource.material"); 231 232 explorer.packageExplorer.addModule("yage.resource.mesh"); 229 233 230 234 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.horde.html
r17 r19 147 147 148 148 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 149 <dt><span class="decl">this(T[] array); 150 </span></dt> 151 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 152 153 <dd>Construct from an existing array. 154 <br><br> 155 156 </dd> 157 158 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 149 159 <dt><span class="decl">T[] 150 160 <span class="currsymbol">opCast</span> … … 540 550 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 541 551 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 542 on S at Jan 27 13:55:252007552 on Sun Feb 4 00:19:17 2007 543 553 544 554 </div> … … 587 597 explorer.packageExplorer.addModule("yage.node.model"); 588 598 599 explorer.packageExplorer.addModule("yage.node.moveable"); 600 589 601 explorer.packageExplorer.addModule("yage.node.node"); 590 602 … … 602 614 603 615 explorer.packageExplorer.addModule("yage.resource.material"); 616 617 explorer.packageExplorer.addModule("yage.resource.mesh"); 604 618 605 619 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.matrix.html
r17 r19 552 552 553 553 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 554 <dt><span class="decl">void 555 <span class="currsymbol">print</span> 556 <script type="text/javascript">explorer.outline.addDecl('print');</script> 557 (); 558 </span></dt> 559 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 560 561 <dd>Print the values of this matrix to the standard output. 562 <br><br> 563 554 <dt><span class="decl">void* 555 <span class="currsymbol">ptr</span> 556 <script type="text/javascript">explorer.outline.addDecl('ptr');</script> 557 (); 558 </span></dt> 559 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 560 561 <dd><br><br> 564 562 </dd> 565 563 … … 833 831 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 834 832 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 835 on S at Jan 27 13:55:252007833 on Sun Feb 4 00:19:17 2007 836 834 837 835 </div> … … 880 878 explorer.packageExplorer.addModule("yage.node.model"); 881 879 880 explorer.packageExplorer.addModule("yage.node.moveable"); 881 882 882 explorer.packageExplorer.addModule("yage.node.node"); 883 883 … … 895 895 896 896 explorer.packageExplorer.addModule("yage.resource.material"); 897 898 explorer.packageExplorer.addModule("yage.resource.mesh"); 897 899 898 900 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.misc.html
r17 r19 609 609 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 610 610 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 611 on S at Jan 27 13:55:252007611 on Sun Feb 4 00:19:17 2007 612 612 613 613 </div> … … 656 656 explorer.packageExplorer.addModule("yage.node.model"); 657 657 658 explorer.packageExplorer.addModule("yage.node.moveable"); 659 658 660 explorer.packageExplorer.addModule("yage.node.node"); 659 661 … … 671 673 672 674 explorer.packageExplorer.addModule("yage.resource.material"); 675 676 explorer.packageExplorer.addModule("yage.resource.mesh"); 673 677 674 678 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.plane.html
r17 r19 198 198 199 199 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 200 <dt><span class="decl">void 201 <span class="currsymbol">p rint</span>202 <script type="text/javascript">explorer.outline.addDecl('p rint');</script>200 <dt><span class="decl">void* 201 <span class="currsymbol">ptr</span> 202 <script type="text/javascript">explorer.outline.addDecl('ptr');</script> 203 203 (); 204 204 </span></dt> 205 205 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 206 206 207 <dd>Print the values of this Plane to the standard output. 208 <br><br> 209 207 <dd><br><br> 210 208 </dd> 211 209 … … 280 278 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 281 279 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 282 on S at Jan 27 13:55:252007280 on Sun Feb 4 00:19:17 2007 283 281 284 282 </div> … … 327 325 explorer.packageExplorer.addModule("yage.node.model"); 328 326 327 explorer.packageExplorer.addModule("yage.node.moveable"); 328 329 329 explorer.packageExplorer.addModule("yage.node.node"); 330 330 … … 342 342 343 343 explorer.packageExplorer.addModule("yage.resource.material"); 344 345 explorer.packageExplorer.addModule("yage.resource.mesh"); 344 346 345 347 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.quatrn.html
r17 r19 268 268 269 269 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 270 <dt><span class="decl">void 271 <span class="currsymbol">print</span> 272 <script type="text/javascript">explorer.outline.addDecl('print');</script> 273 (); 274 </span></dt> 275 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 276 277 <dd>Print the x, y, z, w values of the Quaternion to the standard output. 278 <br><br> 279 270 <dt><span class="decl">void* 271 <span class="currsymbol">ptr</span> 272 <script type="text/javascript">explorer.outline.addDecl('ptr');</script> 273 (); 274 </span></dt> 275 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 276 277 <dd><br><br> 280 278 </dd> 281 279 … … 460 458 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 461 459 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 462 on S at Jan 27 13:55:252007460 on Sun Feb 4 00:19:17 2007 463 461 464 462 </div> … … 507 505 explorer.packageExplorer.addModule("yage.node.model"); 508 506 507 explorer.packageExplorer.addModule("yage.node.moveable"); 508 509 509 explorer.packageExplorer.addModule("yage.node.node"); 510 510 … … 522 522 523 523 explorer.packageExplorer.addModule("yage.resource.material"); 524 525 explorer.packageExplorer.addModule("yage.resource.mesh"); 524 526 525 527 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.timer.html
r17 r19 255 255 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 256 256 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 257 on S at Jan 27 13:55:252007257 on Sun Feb 4 00:19:17 2007 258 258 259 259 </div> … … 302 302 explorer.packageExplorer.addModule("yage.node.model"); 303 303 304 explorer.packageExplorer.addModule("yage.node.moveable"); 305 304 306 explorer.packageExplorer.addModule("yage.node.node"); 305 307 … … 317 319 318 320 explorer.packageExplorer.addModule("yage.resource.material"); 321 322 explorer.packageExplorer.addModule("yage.resource.mesh"); 319 323 320 324 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.tree.html
r17 r19 119 119 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 120 120 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 121 on S at Jan 27 13:55:252007121 on Sun Feb 4 00:19:17 2007 122 122 123 123 </div> … … 166 166 explorer.packageExplorer.addModule("yage.node.model"); 167 167 168 explorer.packageExplorer.addModule("yage.node.moveable"); 169 168 170 explorer.packageExplorer.addModule("yage.node.node"); 169 171 … … 181 183 182 184 explorer.packageExplorer.addModule("yage.resource.material"); 185 186 explorer.packageExplorer.addModule("yage.resource.mesh"); 183 187 184 188 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.vector.html
r17 r19 143 143 <span class="currsymbol">opCall</span> 144 144 <script type="text/javascript">explorer.outline.addDecl('opCall');</script> 145 (T[ ] <span class="funcparam">s</span>...);145 (T[K] <span class="funcparam">s</span>...); 146 146 </span></dt> 147 147 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> … … 160 160 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 161 161 162 <dd>Create a new vector with the values of <span class="funcparam">s</span>; <span class="funcparam">s</span> must be at least of length 3.162 <dd>Create a new vector with the values of <span class="funcparam">s</span>; <span class="funcparam">s</span> must be at least of length K. 163 163 <br><br> 164 164 … … 789 789 790 790 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 791 <dt><span class="decl">void 792 <span class="currsymbol">print</span> 793 <script type="text/javascript">explorer.outline.addDecl('print');</script> 794 (); 795 </span></dt> 796 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 797 798 <dd>Print the x, y, z values of the vector to the standard output. 799 <br><br> 800 791 <dt><span class="decl">void* 792 <span class="currsymbol">ptr</span> 793 <script type="text/javascript">explorer.outline.addDecl('ptr');</script> 794 (); 795 </span></dt> 796 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 797 798 <dd><br><br> 801 799 </dd> 802 800 … … 1021 1019 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 1022 1020 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 1023 on S at Jan 27 13:55:2520071021 on Sun Feb 4 00:19:17 2007 1024 1022 1025 1023 </div> … … 1068 1066 explorer.packageExplorer.addModule("yage.node.model"); 1069 1067 1068 explorer.packageExplorer.addModule("yage.node.moveable"); 1069 1070 1070 explorer.packageExplorer.addModule("yage.node.node"); 1071 1071 … … 1083 1083 1084 1084 explorer.packageExplorer.addModule("yage.resource.material"); 1085 1086 explorer.packageExplorer.addModule("yage.resource.mesh"); 1085 1087 1086 1088 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.core.xml.html
r17 r19 448 448 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 449 449 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 450 on S at Jan 27 13:55:252007450 on Sun Feb 4 00:19:17 2007 451 451 452 452 </div> … … 495 495 explorer.packageExplorer.addModule("yage.node.model"); 496 496 497 explorer.packageExplorer.addModule("yage.node.moveable"); 498 497 499 explorer.packageExplorer.addModule("yage.node.node"); 498 500 … … 510 512 511 513 explorer.packageExplorer.addModule("yage.resource.material"); 514 515 explorer.packageExplorer.addModule("yage.resource.mesh"); 512 516 513 517 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.gameobj.html
r17 r19 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 at Jan 27 13:55:252007108 on Sun Feb 4 00:19:17 2007 109 109 110 110 </div> … … 153 153 explorer.packageExplorer.addModule("yage.node.model"); 154 154 155 explorer.packageExplorer.addModule("yage.node.moveable"); 156 155 157 explorer.packageExplorer.addModule("yage.node.node"); 156 158 … … 168 170 169 171 explorer.packageExplorer.addModule("yage.resource.material"); 172 173 explorer.packageExplorer.addModule("yage.resource.mesh"); 170 174 171 175 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.main.html
r17 r19 119 119 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 120 120 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 121 on S at Jan 27 13:55:262007121 on Sun Feb 4 00:19:17 2007 122 122 123 123 </div> … … 166 166 explorer.packageExplorer.addModule("yage.node.model"); 167 167 168 explorer.packageExplorer.addModule("yage.node.moveable"); 169 168 170 explorer.packageExplorer.addModule("yage.node.node"); 169 171 … … 181 183 182 184 explorer.packageExplorer.addModule("yage.resource.material"); 185 186 explorer.packageExplorer.addModule("yage.resource.mesh"); 183 187 184 188 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.node.all.html
r17 r19 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 at Jan 27 13:55:262007112 on Sun Feb 4 00:19:17 2007 113 113 114 114 </div> … … 157 157 explorer.packageExplorer.addModule("yage.node.model"); 158 158 159 explorer.packageExplorer.addModule("yage.node.moveable"); 160 159 161 explorer.packageExplorer.addModule("yage.node.node"); 160 162 … … 172 174 173 175 explorer.packageExplorer.addModule("yage.resource.material"); 176 177 explorer.packageExplorer.addModule("yage.resource.mesh"); 174 178 175 179 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.node.basenode.html
r17 r19 207 207 208 208 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 209 <dt><span class="decl">float 210 <span class="currsymbol">getLifetime</span> 211 <script type="text/javascript">explorer.outline.addDecl('getLifetime');</script> 212 (); 213 </span></dt> 214 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 215 216 <dd>Get the time before the Node will be removed. 217 <br><br> 218 219 </dd> 220 221 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 209 222 <dt><span class="decl">void 210 223 <span class="currsymbol">setLifetime</span> … … 228 241 229 242 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 230 <dt><span class="decl">float 231 <span class="currsymbol">getLifetime</span> 232 <script type="text/javascript">explorer.outline.addDecl('getLifetime');</script> 233 (); 234 </span></dt> 235 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 236 237 <dd>Get the time before the Node will be removed. 243 <dt><span class="decl">void 244 <span class="currsymbol">onUpdate</span> 245 <script type="text/javascript">explorer.outline.addDecl('onUpdate');</script> 246 (void delegate() <span class="funcparam">on_update</span>); 247 </span></dt> 248 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 249 250 <dd>Set a function that will be called every time this Node is updated. 251 <br><br> 252 <b>Params:</b><br> 253 <table><tr> 254 <td nowrap valign="top" style="padding-right: 8px">void delegate() <span class="funcparam">on_update</span></td> 255 256 257 <td>the function that will be called. Use null 258 as an argument to clear 259 the function.</td></tr> 260 </table><br> 261 <font color=red>BUGS:</font><br> 262 Certain Node methods cause access violations. Perhaps this is a dmd bug? 263 <br><br> 264 <b>Example:</b><br> 265 <pre class="d_code"> Node a = <font color=blue>new</font> Node(scene); 266 267 <font color=blue>void</font> doSomething() 268 { self.setScale(a.getLifetime()); <font color=green>// Get smaller over time 269 </font> } 270 a.setLifetime(5); 271 a.<b>onUpdate</b>(&doSomething); 272 </pre> 273 <br><br> 274 275 </dd> 276 277 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 278 <dt><span class="decl">char[] 279 <span class="currsymbol">toString</span> 280 <script type="text/javascript">explorer.outline.addDecl('toString');</script> 281 (); 282 </span></dt> 283 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 284 285 <dd>Return a string representation of this Node for human reading. 286 <br><br> 287 288 </dd> 289 290 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 291 <dt><span class="decl">char[] 292 <span class="currsymbol">toString</span> 293 <script type="text/javascript">explorer.outline.addDecl('toString');</script> 294 (bool <span class="funcparam">recurse</span>); 295 </span></dt> 296 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 297 298 <dd>Return a string representation of this Node for human reading. 299 <br><br> 300 <b>Params:</b><br> 301 <table><tr> 302 <td nowrap valign="top" style="padding-right: 8px">bool <span class="funcparam">recurse</span></td> 303 304 305 <td>Print this Node's children as well. </td></tr> 306 </table><br> 307 308 </dd> 309 310 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 311 <dt><span class="decl">void 312 <span class="currsymbol">update</span> 313 <script type="text/javascript">explorer.outline.addDecl('update');</script> 314 (float <span class="funcparam">delta</span>); 315 </span></dt> 316 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 317 318 <dd>Update the positions and rotations of this Node and all children by <span class="funcparam">delta</span> seconds. 238 319 <br><br> 239 320 … … 252 333 This is called automatically when the absolute transformation matrix of a node is needed. 253 334 Remember that rotating a Node's parent will change the Node's velocity. 254 <br><br>255 256 </dd>257 258 <script type="text/javascript">explorer.outline.writeEnabled = true;</script>259 <dt><span class="decl">char[]260 <span class="currsymbol">toString</span>261 <script type="text/javascript">explorer.outline.addDecl('toString');</script>262 ();263 </span></dt>264 <script type="text/javascript">explorer.outline.writeEnabled = false;</script>265 266 <dd>Return a string representation of this Node for human reading.267 <br><br>268 269 </dd>270 271 <script type="text/javascript">explorer.outline.writeEnabled = true;</script>272 <dt><span class="decl">char[]273 <span class="currsymbol">toString</span>274 <script type="text/javascript">explorer.outline.addDecl('toString');</script>275 (bool <span class="funcparam">recurse</span>);276 </span></dt>277 <script type="text/javascript">explorer.outline.writeEnabled = false;</script>278 279 <dd>Return a string representation of this Node for human reading.280 <br><br>281 <b>Params:</b><br>282 <table><tr>283 <td nowrap valign="top" style="padding-right: 8px">bool <span class="funcparam">recurse</span></td>284 285 286 <td>Print this Node's children as well. </td></tr>287 </table><br>288 289 </dd>290 291 <script type="text/javascript">explorer.outline.writeEnabled = true;</script>292 <dt><span class="decl">void293 <span class="currsymbol">update</span>294 <script type="text/javascript">explorer.outline.addDecl('update');</script>295 (float <span class="funcparam">delta</span>);296 </span></dt>297 <script type="text/javascript">explorer.outline.writeEnabled = false;</script>298 299 <dd>Update the positions and rotations of this Node and all children by <span class="funcparam">delta</span> seconds.300 335 <br><br> 301 336 … … 320 355 Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 321 356 <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 322 on S at Jan 27 13:55:262007357 on Sun Feb 4 00:19:17 2007 323 358 324 359 </div> … … 367 402 explorer.packageExplorer.addModule("yage.node.model"); 368 403 404 explorer.packageExplorer.addModule("yage.node.moveable"); 405 369 406 explorer.packageExplorer.addModule("yage.node.node"); 370 407 … … 382 419 383 420 explorer.packageExplorer.addModule("yage.resource.material"); 421 422 explorer.packageExplorer.addModule("yage.resource.mesh"); 384 423 385 424 explorer.packageExplorer.addModule("yage.resource.model"); trunk/doc/api/yage.node.camera.html
r17 r19 146 146 147 147 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 148 <dt><span class="decl">protected void 149 <span class="currsymbol">buildFrustum</span> 150 <script type="text/javascript">explorer.outline.addDecl('buildFrustum');</script> 151 (); 152 </span></dt> 153 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 154 155 <dd>Build a 6-plane view frutum based on the orientation of the camera and 156 the parameters passed to setView(). 157 <br><br> 158 159 </dd> 160 161 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 162 <dt><span class="decl">Plane [] 163 <span class="currsymbol">getFrustum</span> 164 <script type="text/javascript">explorer.outline.addDecl('getFrustum');</script> 165 (); 166 </span></dt> 167 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 168 169 <dd><br><br> 170 </dd> 171 172 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 173 <dt><span class="decl">Matrix 174 <span class="currsymbol">getInverseAbsoluteMatrix</span> 175 <script type="text/javascript">explorer.outline.addDecl('getInverseAbsoluteMatrix');</script> 176 (); 177 </span></dt> 178 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 179 180 <dd>Get the inverse of the camera's absolute matrix. This is pre-calculated per call to .toTexture(). 181 <br><br> 182 183 </dd> 184 185 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 186 <dt><span class="decl">Node 187 <span class="currsymbol">getNodeAtCoordinate</span> 188 <script type="text/javascript">explorer.outline.addDecl('getNodeAtCoordinate');</script> 189 (int <span class="funcparam">x</span>, int <span class="funcparam">y</span>); 190 </span></dt> 191 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 192 193 <dd>Return the closest Node to the Camera in the Camera's Scene at the <span class="funcparam">x</span>, <span class="funcparam">y</span> 194 coordinates in the Camera's Texture. This will not return any Nodes from 195 the Scene's skybox. Returns null 196 if no Node is at the position. 197 <br><br> 198 199 </dd> 200 201 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 202 <dt><span class="decl">int 203 <span class="currsymbol">getNodeCount</span> 204 <script type="text/javascript">explorer.outline.addDecl('getNodeCount');</script> 205 (); 206 </span></dt> 207 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 208 209 <dd><br><br> 210 </dd> 211 212 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 213 <dt><span class="decl">Vec!(int,2) 214 <span class="currsymbol">getResolution</span> 215 <script type="text/javascript">explorer.outline.addDecl('getResolution');</script> 216 (); 217 </span></dt> 218 <script type="text/javascript">explorer.outline.writeEnabled = false;</script> 219 220 <dd><br><br> 221 </dd> 222 223 <script type="text/javascript">explorer.outline.writeEnabled = true;</script> 148 224 <dt><span class="decl">CameraTexture 149 225 <span class="currsymbol">getTexture</span> … … 154 230 155 231 <dd>Get the Texture that the camera renders to. 156 <br><br>157 158 </dd>159 160 <script type="text/javascript">explorer.outline.writeEnabled = true;</script>161 <dt><span class="decl">Matrix162 <span class="currsymbol">getInverseAbsoluteMatrix</span>163 <script type="text/javascript">explorer.outline.addDecl('getInverseAbsoluteMatrix');</script>164 ();165 </span></dt>166 <script type="text/javascript">explorer.outline.writeEnabled = false;</script>167 168 <dd>Get the inverse of the camera's absolute matrix. This is pre-calculated per call to .toTexture().169 <br><br>170 171 </dd>172 173 <script type="text/javascript">explorer.outline.writeEnabled = true;</script>174 <dt><span class="decl">uint175
