BRL-CAD
|
Information about where a ray hits the surface. More...
#include <hit.h>
Data Fields | |
uint32_t | hit_magic |
fastf_t | hit_dist |
dist from r_pt to hit_point More... | |
point_t | hit_point |
DEPRECATED: Intersection point, use VJOIN1 hit_dist. More... | |
vect_t | hit_normal |
DEPRECATED: Surface Normal at hit_point, use RT_HIT_NORMAL. More... | |
vect_t | hit_vpriv |
PRIVATE vector for xxx_*() More... | |
void * | hit_private |
PRIVATE handle for xxx_shot() More... | |
int | hit_surfno |
solid-specific surface indicator More... | |
struct xray * | hit_rayp |
pointer to defining ray More... | |
Information about where a ray hits the surface.
Important Note: Surface Normals always point OUT of a solid.
DEPRECATED: The hit_point and hit_normal elements will be removed from this structure, so as to separate the concept of the solid's normal at the hit point from the post-boolean normal at the hit point.
point_t hit_point |
vect_t hit_normal |