Thread: Blitz3D
View Single Post
Old 08-15-2006, 12:31 PM   #2 (permalink)
kevin8084
Registered User
 
Join Date: Aug 2006
Posts: 3
kevin8084 is on a distinguished road
Quite late

Quite a bit late, but this will work:
Code:
Graphics3D 800,600
SetBuffer BackBuffer()

cam1 = CreateCamera()
PositionEntity cam1,0,0,-5

Global sphere

Function createobject()
     sphere=CreateSphere()
End Function

createobject()

While Not KeyHit(1)
     TurnEntity sphere,0,1,0
     UpdateWorld
     RenderWorld
     Flip
Wend
End
kevin8084 is offline   Reply With Quote