loadobject(1,"cylinder_001.obj")

SetCameraPosition(1,0,5,-10)
SetCameraLookAt(1,0,0,0,0)

CreateLightDirectional(1,-1,-1,1,255,255,255)

do

	RotateObjectGlobalY(1,GetJoystickX())
	RotateObjectGlobalX(1,GetJoystickY()*-1)

	sync()
loop
