aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index d489be7..dcbc097 100644
--- a/src/types.h
+++ b/src/types.h
@@ -255,5 +255,19 @@ typedef struct {
} Game;
+typedef struct {
+
+ double nx;
+ double ny;
+ double nz; /* Normal of face being collided with */
+
+ double cx;
+ double cy;
+ double cz; /* Coordinates of object at the moment when it collides */
+
+ double ttc;
+
+} CollisionSpec;
+
#endif /* TYPES_H */