projects
/
cyberay
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed missing last tile, and changed bvh node to binary
[cyberay]
/
src
/
geom.h
diff --git
a/src/geom.h
b/src/geom.h
index
50784a4
..
7f71094
100644
(file)
--- a/
src/geom.h
+++ b/
src/geom.h
@@
-26,9
+26,7
@@
struct bvhnode {
struct triangle *faces;
int num_faces;
- struct bvhnode *next;
- struct bvhnode *sub;
- int num_sub;
+ struct bvhnode *left, *right;
};
struct rayhit {