BRL-CAD
|
#include <xray.h>
Data Fields | |
uint32_t | magic |
struct xray | corner [CORNER_PTS] |
This structure is intended to describe the area and/or volume represented by a ray. In the case of the "rt" program it represents the extent in model coordinates of the prism behind the pixel being rendered.
The r_pt values of the rays indicate the dimensions and location in model space of the ray origin (usually the pixel to be rendered). The r_dir vectors indicate the edges (and thus the shape) of the prism which is formed from the projection of the pixel into space.
struct xray corner[CORNER_PTS] |