47#define RT_CK_HTBL(_p) BU_CKMAG(_p, RT_HTBL_MAGIC, "rt_htbl")
67#define RT_CK_PIECESTATE(_p) BU_CKMAG(_p, RT_PIECESTATE_MAGIC, "struct rt_piecestate")
90#define RT_CK_PIECELIST(_p) BU_CKMAG(_p, RT_PIECELIST_MAGIC, "struct rt_piecelist")
Header file for the BRL-CAD common definitions.
double fastf_t
fastest 64-bit (or larger) floating point type
Global registry of recognized magic numbers.
Information about where a ray hits the surface.
size_t blen
# of struct's of storage at *hits
struct bu_list l
linked list for caller's use
struct hit * hits
hits[blen] data storage area
size_t end
index of first available location
size_t npieces
number of pieces in pieces[] array
struct soltab * stp
ref back to solid
long * pieces
pieces[npieces], piece indices
fastf_t maxdist
dist ray leaves solids bounding volume
fastf_t mindist
dist ray enters solids bounding volume
const union cutter * cutp
current bounding volume
struct rt_htbl htab
accumulating hits here
long ray_seqno
res_nshootray