#include "common.h"
#include <stdio.h>
#include "machine.h"
#include "bu.h"
#include "vmath.h"
#include "bn.h"
Include dependency graph for const.c:
Go to the source code of this file.
Variables | |
const double | bn_pi = 3.14159265358979323846 |
pi | |
const double | bn_twopi = 6.28318530717958647692 |
pi*2 | |
const double | bn_halfpi = 1.57079632679489661923 |
pi/2 | |
const double | bn_quarterpi = 0.78539816339744830961 |
pi/4 | |
const double | bn_invpi = 0.318309886183790671538 |
1/pi | |
const double | bn_inv2pi = 0.159154943091895335769 |
1/(pi*2) | |
const double | bn_inv4pi = 0.07957747154594766788 |
1/(pi*4) | |
const double | bn_inv255 = 1.0/255.0 |
const double | bn_degtorad = 0.0174532925199433 |
(pi*2)/360 | |
const double | bn_radtodeg = 57.29577951308230698802 |
360/(pi*2) |
Definition in file const.c.
|
|
pi*2
Definition at line 52 of file const.c. Referenced by bn_angle_measure(), nmg_check_radial_angles(), nmg_is_angle_in_wedge(), nmg_radial_join_eu(), nmg_vu_angle_measure(), rt_ehy_plot(), rt_ehy_tess(), rt_epa_plot(), rt_epa_tess(), rt_eto_plot(), rt_eto_tess(), rt_eto_uv(), rt_raybundle_maker(), rt_tgc_uv(), rt_tor_plot(), rt_tor_tess(), and spm_init(). |
|
pi/2
Definition at line 53 of file const.c. Referenced by rt_cline_tess(), rt_ell_tess(), rt_find_fallback_angle(), rt_part_tess(), and rt_tgc_tess(). |
|
pi/4
|
|
1/pi
Definition at line 55 of file const.c. Referenced by rt_ell_uv(), rt_rhc_uv(), rt_rpc_uv(), and rt_sph_uv(). |
|
1/(pi*2)
Definition at line 56 of file const.c. Referenced by rt_ehy_uv(), rt_ell_uv(), rt_epa_uv(), rt_part_uv(), rt_rec_uv(), rt_sph_uv(), and rt_tor_uv(). |
|
1/(pi*4)
|
|
Definition at line 59 of file const.c. Referenced by db_apply_state_from_comb(), db_do_anim(), and rt_region_color_map(). |
|
(pi*2)/360
Definition at line 61 of file const.c. Referenced by bn_mat_ae(), bn_mat_angles(), vo_arot_cmd(), vo_mat_aet(), and wdb_tol_cmd(). |
|
360/(pi*2)
Definition at line 62 of file const.c. Referenced by bn_ae_vec(), bn_aet_vec(), nmg_face_coincident_vu_sort(), nmg_jeg(), nmg_pick_best_edge_g(), nmg_pr_one_eu_vecs(), nmg_pr_radial(), nmg_radial_join_eu(), nmg_radial_verify_monotone(), nmg_radial_verify_pointers(), nmg_use_edge_g(), nmg_vlblock_euleft(), nmg_vu_angle_measure(), rt_find_fallback_angle(), and wdb_tol_cmd(). |