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

Go to the source code of this file.


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

Detailed Description

The ypr command.

Definition in file ypr.c.

Function Documentation

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

Get/set the view orientation using yaw, pitch and roll

Definition at line 35 of file ypr.c.

References anim_dy_p_r2mat(), anim_mat2ypr(), anim_v_permute(), anim_v_unpermute(), bn_mat_trn(), bu_vls_printf(), bu_vls_trunc(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_VIEW, GED_ERROR, ged::ged_gvp, GED_OK, ged::ged_result_str, ged_view_update(), bview::gv_rotation, usage(), and V3ARGS.

Referenced by ged_view_func().

Here is the call graph for this function: