summaryrefslogtreecommitdiff
path: root/includes/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/misc.h')
-rw-r--r--includes/misc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/misc.h b/includes/misc.h
index a372648..c3ba03e 100644
--- a/includes/misc.h
+++ b/includes/misc.h
@@ -79,11 +79,15 @@ int cpu_check(void);
// a b
// c d
-struct matrix2d {float a,b,c,d;};
+struct matrix2d {
+ float a,b,c,d;
+};
typedef struct matrix2d matrix2d;
// column vector
-struct vector2d {float x,y;};
+struct vector2d {
+ float x,y;
+};
typedef struct vector2d vector2d;
matrix2d m2d_multiply_m2d(matrix2d m1, matrix2d m2);