#ifndef CUBE_H_INCLUDED #define CUBE_H_INCLUDED /* returns the intersection point of the given point and vector * with the unit cube. */ void cube_intersect( double px, double py, double pz, double vx, double vy, double vz, double *ix, double *iy, double *iz ); #endif /* CUBE_H_INCLUDED */