BRL-CAD
globals.c
Go to the documentation of this file.
1 /* G L O B A L S . C
2  * BRL-CAD
3  *
4  * Copyright (c) 2008-2014 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 #include "common.h"
22 
23 #include <math.h>
24 
25 #include "vmath.h"
26 #include "bn.h"
27 
28 
29 /*
30  * New global variables are discouraged and refactoring in ways that
31  * eliminates existing global variables without reducing functionality
32  * is always encouraged.
33  */
34 
35 
36 /* see rand.c for random constant globals */
37 extern const float bn_rand_table[];
38 extern double bn_sin_scale;
39 extern const float bn_sin_table[];
40 extern int bn_randhalftabsize;
41 extern float bn_rand_halftab[];
42 extern float bn_rand_poison_[];
43 
44 /*
45  * Local Variables:
46  * tab-width: 8
47  * mode: C
48  * indent-tabs-mode: t
49  * c-file-style: "stroustrup"
50  * End:
51  * ex: shiftwidth=4 tabstop=8
52  */
Header file for the BRL-CAD common definitions.
double bn_sin_scale
const float bn_sin_table[]
Definition: rand.c:723
float bn_rand_halftab[]
Definition: rand.c:1240
const float bn_rand_table[]
Definition: rand.c:36
int bn_randhalftabsize
Definition: rand.c:1238
float bn_rand_poison_[]
Definition: rand.c:3611