-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: hackvr
action: commit
revision:
path_from:
revision_from: 905e3c77725ecdc3a6658d69c9a2a73a0513b6ce:
path_to:
revision_to:

git.thebackupbox.net

hackvr

git://git.thebackupbox.net/hackvr

commit 905e3c77725ecdc3a6658d69c9a2a73a0513b6ce
Author: epoch <epoch@enzo.thebackupbox.net>
Date:   Thu Mar 10 15:04:52 2022 +0000

    matrix things added

diff --git a/src/math.h b/src/math.h

index 13f4d635c30800eb4d9a4239782b3e5d16ee91af..

index ..f12a39163b6261973207fe13d7f4dc19cb7a1c33 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

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 16:41:57 2024