'\" t
.\"     Title: LOOKAT
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "LOOKAT" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
lookat \- Adjusts the current view in MGED such that the eye is looking in the direction of the given coordinates, but does not move the eye point nor change the view size\&.
.SH "SYNOPSIS"
.HP \w'\fBlookat\fR\ 'u
\fBlookat\fR {\fIx\ y\ z\fR}
.SH "DESCRIPTION"
.PP
Adjusts the current view in MGED such that the eye is looking in the direction of the given coordinates, but does not move the eye point nor change the view size\&. This is similar to just rotating the viewers head to look at the specified point, putting that point in the center of the MGED display\&. The center command performs a similar function, but moves the eye_pt without changing the viewing direction\&.
.SH "EXAMPLES"
.PP
The example shows the use of the
\fBlookat\fR
command to rotate the view to place the given coordinates in the center of the display\&.
.PP
\fBExample\ \&1.\ \&Rotate the view to place specific coordinates in the center of the display.\fR
.PP
mged> \fBlookat 10 20 30\fR
.RS 4
Rotates the view to place the point (10 20 30) (model coordinates) in the center of the display\&.
.RE
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
