Notices & clean
[carveJwlIkooP6JGAAIwe30JlM.git] / common.h
index cc272027b2ce284739915aa51720ebe0ec283bee..d0f4c078529f1b19baedaaaeb5580556ddedf97a 100644 (file)
--- a/common.h
+++ b/common.h
@@ -1,3 +1,7 @@
+/*
+ * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved
+ */
+
 #ifndef COMMON_H
 #define COMMON_H
 
@@ -7,4 +11,14 @@
 
 static float ktimestep = 1.0f/60.0f;
 
+typedef struct ray_hit ray_hit;
+struct ray_hit
+{
+   float dist;
+   u32 *tri;
+   v3f pos, normal;
+};
+
+static int network_scores_updated = 0;
+
 #endif /* COMMON_H */