4 #include <cgmath/cgmath.h>
30 int ray_triangle(cgm_ray *ray, struct triangle *tri, float tmax, struct rayhit *hit);
31 int ray_aabox_any(cgm_ray *ray, struct aabox *box, float tmax);
33 void aabox_union(struct aabox *res, struct aabox *a, struct aabox *b);
34 float aabox_surf_area(struct aabox *box);
35 float surf_area(float dx, float dy, float dz);