CAM_ROLL

CAM_ROLL A

ROTATES THE CAMERA AROUND ITS Z-AXIS BY THE ANGLE A (DEGREES)

  • Type: Command
  • Parameter: 1
  • Group: 3D Objects

ACTION

The command CAM_ROLL is used to rotate the camera around its Z-axis by the angle A, expressed in degrees.

SYNTAX: CAM_ROLL A

  • A = angle value (integer or real).

USE

  • The command CAM_ROLL is used to rotate the camera around its Z-axis

ERROR

  • If A is not a correct expression.
  • If no SCENE3D is created.

EXAMPLE

scene3D 1

full_space 1

3d_teapot 1

wait 1000

cam_roll 10

wait 1000

cam_roll -10

wait 1000

cam_turn 10

wait 1000

cam_turn -10

wait 1000

cam_pitch 10

wait 1000

cam_pitch -10

SEE ALSO

CAM_PITCH

CAM_TURN