home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 63 / CDACTUAL63.iso / Aplicaciones / DarkBasic / DemoDarkBasic.exe / help / examples / matrix3d / exam02.dba < prev    next >
Encoding:
Text File  |  1999-11-04  |  747 b   |  39 lines

  1. Rem * Title  : Matrix Manipulation
  2. Rem * Author : DBS-LB
  3. Rem * Date   : 1st Sept 99
  4. rem ==========================================
  5. rem DARK BASIC EXAMPLE PROGRAM 2
  6. rem ==========================================
  7. rem This program will manipulate a matrix
  8. rem ------------------------------------------
  9.  
  10. rem Make a matrix
  11. make matrix 1,10000.0,10000.0,25,25
  12.  
  13. rem Wait a while
  14. sleep 1000
  15.  
  16. rem Switch off wireframe
  17. set matrix wireframe off 1
  18.  
  19. rem Randomize the matrix
  20. randomize matrix 1,50
  21.  
  22. rem Wait a while
  23. sleep 1000
  24.  
  25. rem Position the matrix
  26. position matrix 1,0,0,500
  27.  
  28. rem Wait a while
  29. sleep 1000
  30.  
  31. rem Switch on wireframe
  32. set matrix wireframe on 1
  33.  
  34. rem Delete the matrix
  35. delete matrix 1
  36.  
  37. rem End the program
  38. end
  39.