clip.h File Reference
#include "common.h"
#include "vmath.h"
#include "bn/defines.h"
Include dependency graph for clip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int bn_lseg_clip (fastf_t *xp1, fastf_t *yp1, fastf_t *xp2, fastf_t *yp2, fastf_t clip_min, fastf_t clip_max)
 Clipping functions. More...
int bn_ray_vclip (vect_t a, vect_t b, fastf_t *min, fastf_t *max)
 Clip a ray against a rectangular parallelepiped (RPP) that has faces parallel to the coordinate planes (a clipping RPP). The RPP is defined by a minimum point and a maximum point. More...