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]
/
common.h
diff --git
a/common.h
b/common.h
index 51eb1fa1df00dcc1931a6e2fcebd27aec2089af9..1e1ebed3c21aaa8d7dfa65f33fbfeba4943217da 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-13,4
+13,13
@@
enum classtype
k_classtype_gate = 1
};
+/* TODO: he needs a home somewhere */
+typedef struct ray_hit ray_hit;
+struct ray_hit
+{
+ float dist;
+ u32 *tri;
+ v3f pos, normal;
+};
+
#endif /* COMMON_H */