## Name

vrot — Rotates the view on the current geometry display window.

## Synopsis

`vrot` {`xrot yrot zrot`}

## DESCRIPTION

Rotates the view on the current geometry display window. The parameters xrot, yrot, and zrot are rotations (specified in degrees) about the viewing coordinate axes.

If the display is in rotate-about-center mode, then the rotation will occur about the center of the viewing volume. In rotate-about-eye mode, the view on the display will be rotated about the eye. The vars command (or a menu button) allows the user to toggle between the two modes.

## EXAMPLES

The two examples show the use of the vrot command to rotate the view on the current geometry display window about the x axis and y axis, respectively.

Example 1. Rotate the view on the geometry display window about the x axis.

`mged>``vrot 90 0 0`

Rotates the view 90° about the x axis.

Example 2. Rotate the view on the geometry display window about the y axis.

`mged>``vrot 0 180 0`

Rotates the view 180° about the y axis.

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.