BRL-CAD
dm-pex.h File Reference
#include "common.h"
Include dependency graph for dm-pex.h:

Go to the source code of this file.

Data Structures

struct  modifiable_pex_vars
 
struct  pex_vars
 

Macros

#define GED_TO_Xx(_dmp, x)   ((int)(((x)/4096.0+0.5)*((struct pex_vars *)((_dmp)->dmr_vars))->width))
 
#define GED_TO_Xy(_dmp, x)   ((int)((0.5-(x)/4096.0)*((struct pex_vars *)((_dmp)->dmr_vars))->height))
 
#define Xx_TO_GED(_dmp, x)   ((int)(((x)/(double)((struct pex_vars *)((_dmp)->dmr_vars))->width - 0.5) * 4095))
 
#define Xy_TO_GED(_dmp, x)   ((int)((0.5 - (x)/(double)((struct pex_vars *)((_dmp)->dmr_vars))->height) * 4095))
 
#define TRY_DEPTHCUE   0
 
#define Pex_MV_O(_m)   offsetof(struct modifiable_pex_vars, _m)
 

Functions

void Pex_configure_window_shape ()
 
void Pex_establish_perspective ()
 
void Pex_set_perspective ()
 

Variables

struct pex_vars head_pex_vars