aboutsummaryrefslogtreecommitdiff
path: root/07-july/src/math/math_util.h
diff options
context:
space:
mode:
Diffstat (limited to '07-july/src/math/math_util.h')
-rw-r--r--07-july/src/math/math_util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/07-july/src/math/math_util.h b/07-july/src/math/math_util.h
new file mode 100644
index 0000000..28a5464
--- /dev/null
+++ b/07-july/src/math/math_util.h
@@ -0,0 +1,9 @@
+#ifndef MATH_UTIL_H
+#define MATH_UTIL_H
+
+#include "vector3f.h"
+#include "vector2f.h"
+
+extern float baryCentric(vec3_t *p1, vec3_t *p2, vec3_t *p3, vec2_t *pos);
+
+#endif // MATH_UTIL_H