Moving where the camera looks?

Blitz3D Forums/Blitz3D Programming/Moving where the camera looks?

Hold on doesn't CameraViewport do this? ^^

Graphics3D 800,600,16
SetBuffer BackBuffer()

camera=CreateCamera()
CameraViewport camera,0,0,800,400

cube=CreateCube()

light=CreateLight(2,camera)
LightRange light,10

PositionEntity camera,0,0,-10
PointEntity camera,cube

ClsColor 0,0,255

While Not KeyHit(1)

TurnEntity cube,1,0.8,0.7
Cls
RenderWorld()
Flip False

Wend