Returns the direction vector using the current azimuth and elevation as input. If the -i option is used the commmand will return the inverse directional vector. See also the ae2dir, dir2ae and qvrot commands.
The example shows the use of the viewdir command to get the direction vector.
Example 1. Find the current direction vector.
mged>
viewdir
Returns the direction vector using the current azimuth and elevation.
Reports of bugs or problems should be submitted via electronic
mail to <devs@brlcad.org>