BRL-CAD
#include "common.h"
#include "vmath.h"
#include "bu/magic.h"
#include "bu/vls.h"
#include "rt/defines.h"
#include "rt/xray.h"
Include dependency graph for hit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  hit
 Information about where a ray hits the surface. More...
 
struct  curvature
 
struct  uvcoord
 

Macros

#define HIT_NULL   ((struct hit *)0)
 
#define RT_CK_HIT(_p)   BU_CKMAG(_p, RT_HIT_MAGIC, "struct hit")
 
#define RT_HIT_INIT_ZERO   { RT_HIT_MAGIC, 0.0, VINIT_ZERO, VINIT_ZERO, VINIT_ZERO, NULL, 0, NULL }
 
#define RT_HIT_NORMAL(_normal, _hitp, _stp, _unused, _flipflag)
 
#define CURVE_NULL   ((struct curvature *)0)
 
#define RT_CURVATURE_INIT_ZERO   { VINIT_ZERO, 0.0, 0.0 }
 
#define RT_CURVATURE(_curvp, _hitp, _flipflag, _stp)
 
#define RT_HIT_UVCOORD(ap, _stp, _hitp, uvp)
 

Functions

void rt_pr_hit (const char *str, const struct hit *hitp)
 
void rt_pr_hit_vls (struct bu_vls *v, const char *str, const struct hit *hitp)
 
void rt_pr_hitarray_vls (struct bu_vls *v, const char *str, const struct hit *hitp, int count)