summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/math.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/math.h b/src/math.h
index 13f4d63..f12a391 100644
--- a/src/math.h
+++ b/src/math.h
@@ -29,4 +29,14 @@ int isLeft(c2_t, c2_t, c2_t);
int cn_PnPoly(c2_t, c2_t *, int);
int wn_PnPoly(c2_t, c2_t *, int);
int epoch_PnPoly(c2_t, c2_t *,int);
+
+typedef struct {
+ int h;
+ int w;
+ real d[16];//fuck it. I don't want large matrices anyway. could max it at 9 if I really wanted.
+} matrix;
+
+void m_print(matrix m);
+matrix m_multiply(matrix a,matrix b);
+
#endif