Graphics3D.bb 256 B

1234567891011121314151617181920
  1. ; Graphics3D Example
  2. ; ------------------
  3. ; Set 3D graphics mode
  4. Graphics3D 640,480,16,0
  5. SetBuffer BackBuffer()
  6. camera=CreateCamera()
  7. light=CreateLight()
  8. cone=CreateCone( 32 )
  9. PositionEntity cone,0,0,5
  10. While Not KeyDown( 1 )
  11. RenderWorld
  12. Flip
  13. Wend
  14. End