4 #include <cgmath/cgmath.h>
26 struct triangle **faces;
27 int num_faces, max_faces;
40 int ray_triangle(cgm_ray *ray, struct triangle *tri, float tmax, struct rayhit *hit);
41 int ray_aabox_any(cgm_ray *ray, struct aabox *box, float tmax);
42 int ray_bvhnode(cgm_ray *ray, struct bvhnode *bn, float tmax, struct rayhit *hit);