8 struct bvhnode *st_root;
9 struct bvhnode *dyn_root;
11 struct material *mtls;
12 int num_mtls, max_mtls;
15 int load_level(struct level *lvl, const char *fname);
16 void destroy_level(struct level *lvl);
18 int ray_level(cgm_ray *ray, struct level *lvl, float tmax, struct rayhit *hit);
20 void draw_level(struct level *lvl);