projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed recursive build script
[carveJwlIkooP6JGAAIwe30JlM.git]
/
common.h
diff --git
a/common.h
b/common.h
index cc272027b2ce284739915aa51720ebe0ec283bee..a36dc0a2460528ff70aad8c2fb1d9d7da0d9fd3e 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-1,10
+1,23
@@
+/*
+ * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved
+ */
+
#ifndef COMMON_H
#define COMMON_H
#ifndef COMMON_H
#define COMMON_H
+#define VG_TIMESTEP_FIXED (1.0/60.0)
#define VG_3D
#define VG_FRAMEBUFFER_RESIZE 1
#include "vg/vg.h"
#define VG_3D
#define VG_FRAMEBUFFER_RESIZE 1
#include "vg/vg.h"
-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 */
#endif /* COMMON_H */