summaryrefslogtreecommitdiff
path: root/src/transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transform.h')
-rw-r--r--src/transform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transform.h b/src/transform.h
index f8dc2ad..db582ac 100644
--- a/src/transform.h
+++ b/src/transform.h
@@ -5,6 +5,12 @@
#include <ezxml.h>
+/* fill a ka_matrix_t with the identity matrix */
+int kai_identity(ka_matrix_t *m);
+
+/* multiply two matrices together */
+int kai_multiply(ka_matrix_t *dest, ka_matrix_t A, ka_matrix_t B);
+
/* parse a <matrix> tag into a ka_matrix_t */
int kai_parse_matrix(ka_matrix_t *m, ezxml_t tag);