BRL-CAD
globals.c File Reference
#include "common.h"
#include "raytrace.h"
#include "db.h"
Include dependency graph for globals.c:

Go to the source code of this file.

Variables

struct rt_g RTG = RT_G_INIT_ZERO
 
struct resource rt_uniresource = RT_RESOURCE_INIT_ZERO
 default. Defined in librt/globals.c More...
 
void(* nmg_plot_anim_upcall )(void)
 
void(* nmg_vlblock_anim_upcall )(void)
 
void(* nmg_mged_debug_display_hack )(void)
 
double nmg_eue_dist = 0.05
 
const char * binu_types []
 
const struct rt_functab OBJ []
 
fastf_t rt_cline_radius = (fastf_t)-1.0
 
size_t rt_bot_minpieces = RT_DEFAULT_MINPIECES
 
size_t rt_bot_tri_per_piece = RT_DEFAULT_TRIS_PER_PIECE
 
const struct db_tree_state rt_initial_tree_state
 

Detailed Description

Global variables in LIBRT.

New global variables are discouraged and refactoring in ways that eliminates existing global variables without reducing functionality is always encouraged.

Definition in file globals.c.

Variable Documentation

void(* nmg_plot_anim_upcall) (void)

Definition at line 43 of file globals.c.

void(* nmg_vlblock_anim_upcall) (void)
void(* nmg_mged_debug_display_hack) (void)

Definition at line 47 of file globals.c.

double nmg_eue_dist = 0.05

Definition at line 49 of file globals.c.

Referenced by nmg_offset_eu_vert().

const char* binu_types[]
Initial value:
= {
NULL,
NULL,
"binary(float)",
"binary(double)",
"binary(u_8bit_int)",
"binary(u_16bit_int)",
"binary(u_32bit_int)",
"binary(u_64bit_int)",
NULL,
NULL,
NULL,
NULL,
"binary(8bit_int)",
"binary(16bit_int)",
"binary(32bit_int)",
"binary(64bit_int)"
}

this array depends on the values of the definitions of the DB5_MINORTYPE_BINU_* in db5.h

Definition at line 55 of file globals.c.

Referenced by attr_pretty_print(), and rt_binunif_adjust().