rotate()

Rotate the camera by special degrees in special directions.

Usage

vis.rotate( dir, angle = 45 )

Parameters

dir (string)
The desired direction. Valid values are x+, +x, xplus, y+, +y, yplus, z+, +z, zplus, x-, -x, xminus, y-, -y, yminus, z-, -z and zminus in case insensitive manor.
angle (integer)
Degree of rotation.

Return Value

None

Errors

dir should be valid.

angle should be integer.

Description

This routine rotates the camera by special degrees given by angle in special directions given by dir. For example,
vis.rotate( dir ="x+", angle = -20. )