#include "bvh.h"
typedef struct scene scene;
-#if 0
-typedef struct bvh_node bvh_node;
-#endif
struct scene
{
model_vert *verts;
u32 *indices;
-#if 0
- struct
- {
- bvh_node *nodes;
- u32 node_count;
- }
- bvh;
-#else
bh_tree bhtris;
-#endif
-
u32 vertex_count,
indice_count,
vertex_cap,