projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better water
[carveJwlIkooP6JGAAIwe30JlM.git]
/
scene.h
diff --git
a/scene.h
b/scene.h
index b76aaee475320ab24a63a3130161de02319539fe..6f7c28cbe63b3ac4a0bfd1e6feed6eab22a45f40 100644
(file)
--- a/
scene.h
+++ b/
scene.h
@@
-6,9
+6,6
@@
#include "bvh.h"
typedef struct scene scene;
#include "bvh.h"
typedef struct scene scene;
-#if 0
-typedef struct bvh_node bvh_node;
-#endif
struct scene
{
struct scene
{
@@
-17,17
+14,7
@@
struct scene
model_vert *verts;
u32 *indices;
model_vert *verts;
u32 *indices;
-#if 0
- struct
- {
- bvh_node *nodes;
- u32 node_count;
- }
- bvh;
-#else
bh_tree bhtris;
bh_tree bhtris;
-#endif
-
u32 vertex_count,
indice_count,
vertex_cap,
u32 vertex_count,
indice_count,
vertex_cap,