VIEWDIR(nged)

Returns the direction vector using the current azimuth and elevation (AE).

πŸ“… published 7.44.0, from nixpkgs unstable

✨ NAME ✨

okay so bestie, this page is all about viewdir(nged) β€” aka the viewdir command. It returns the direction vector using the current azimuth and elevation (AE). slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

viewdir [-i]

πŸŽ€ DESCRIPTION πŸŽ€

It returns the direction vector using the current azimuth and elevation as input, no cap.

If you pass the -i option, the command returns the inverse directional vector instead. iconic little flip.

Lowkey also go peek at the ae2dir, dir2ae, and qvrot commands β€” they're in the same friend group.


🌸 EXAMPLES 🌸

This 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. periodt.


πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team


πŸ’Œ BUG REPORTS πŸ’Œ

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org.


mwah πŸ’‹ β€” the footer vibe is source/version BRL-CAD with the manual tag VIEWDIR(nged), and there's no date printed on this page, so we're not inventing one, bestie πŸ«ΆπŸ’…

πŸ“¦ where this page comes from