BRL-CAD
globals.h
Go to the documentation of this file.
1 /* G L O B A L S . H
2  * BRL-CAD
3  *
4  * Copyright (c) 2004-2024 United States Government as represented by
5  * the U.S. Army Research Laboratory.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * version 2.1 as published by the Free Software Foundation.
10  *
11  * This library is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this file; see the file named COPYING for more
18  * information.
19  */
20 
21 /*----------------------------------------------------------------------*/
22 /** @addtogroup nmg_global
23  *
24  */
25 /** @{ */
26 /** @file nmg/globals.h */
27 
28 #ifndef NMG_GLOBALS_H
29 #define NMG_GLOBALS_H
30 
31 #include "common.h"
32 
33 #include "vmath.h"
34 #include "bu/list.h"
35 #include "nmg/defines.h"
36 
37 __BEGIN_DECLS
38 
39 /**
40  * @brief debug bits for NMG's
41  */
42 NMG_EXPORT extern uint32_t nmg_debug;
43 
44 /**
45  * @brief
46  * global nmg animation vblock callback
47  */
48 NMG_EXPORT extern void (*nmg_vlblock_anim_upcall)(void);
49 
50 /**
51  * @brief
52  * global nmg mged display debug callback (ew)
53  */
54 NMG_EXPORT extern void (*nmg_mged_debug_display_hack)(void);
55 
56 /**
57  * @brief
58  * edge use distance tolerance
59  */
60 NMG_EXPORT extern double nmg_eue_dist;
61 
62 
63 __END_DECLS
64 
65 #endif /* NMG_GLOBALS_H */
66 /** @} */
67 /*
68  * Local Variables:
69  * mode: C
70  * tab-width: 8
71  * indent-tabs-mode: t
72  * c-file-style: "stroustrup"
73  * End:
74  * ex: shiftwidth=4 tabstop=8
75  */
Header file for the BRL-CAD common definitions.
void(* nmg_vlblock_anim_upcall)(void)
global nmg animation vblock callback
uint32_t nmg_debug
debug bits for NMG's
void(* nmg_mged_debug_display_hack)(void)
global nmg mged display debug callback (ew)
double nmg_eue_dist
edge use distance tolerance
fundamental vector, matrix, quaternion math macros