BRL-CAD
rot.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "./ged_private.h"
Include dependency graph for rot.c:

Go to the source code of this file.

Functions

int ged_rot_args (struct ged *gedp, int argc, const char *argv[], char *coord, mat_t rmat)
 
int ged_rot (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The rot command.

Definition in file rot.c.

Function Documentation

int ged_rot_args ( struct ged gedp,
int  argc,
const char *  argv[],
char *  coord,
mat_t  rmat 
)

Rotate the view.

Definition at line 36 of file rot.c.

References bn_decode_vect(), bn_mat_angles(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_HELP, GED_OK, ged::ged_result_str, bview::gv_coord, usage(), X, Y, and Z.

Referenced by ged_rot().

Here is the call graph for this function:

int ged_rot ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Definition at line 102 of file rot.c.

References _ged_do_rot(), GED_OK, and ged_rot_args().

Referenced by ged_mrot(), ged_vrot(), to_mouse_constrain_rot(), and to_mouse_rot().

Here is the call graph for this function: