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