projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stuff
[carveJwlIkooP6JGAAIwe30JlM.git]
/
common.h
diff --git
a/common.h
b/common.h
index cc272027b2ce284739915aa51720ebe0ec283bee..1e1ebed3c21aaa8d7dfa65f33fbfeba4943217da 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-7,4
+7,19
@@
static float ktimestep = 1.0f/60.0f;
static float ktimestep = 1.0f/60.0f;
+enum classtype
+{
+ k_classtype_none = 0,
+ 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 */
#endif /* COMMON_H */