home *** CD-ROM | disk | FTP | other *** search
- ; demo05-04.bb - Resizing a cone
- ; ------------------
- Graphics3D 640,480
- SetBuffer BackBuffer()
-
- Const ESC_KEY = 1
- ; Create camera
- camera = CreateCamera()
- ; Create a light
- light = CreateLight()
-
- ;Create the cone
- cone=CreateCone()
- PositionEntity cone,0,0,5
- ScaleEntity cone, 3,0.5,1
-
-
- ; This following code makes our program run
- While Not KeyDown(ESC_KEY)
- RenderWorld
- Flip
- Wend
- End