aboutsummaryrefslogtreecommitdiffstats
path: root/gb_math.h
diff options
context:
space:
mode:
authorGravatar Ginger Bill 2016-10-19 00:04:48 +0100
committerGravatar Ginger Bill 2016-10-19 00:04:48 +0100
commit1fff14105457d75f005e48fd770dfecfdbee0655 (patch)
treea8351592e23b3e10db236a4472742bd1f770c19e /gb_math.h
parentgb.h v0.26d, gb_math.h v0.07 (diff)
Fix Mat2
Diffstat (limited to '')
-rw-r--r--gb_math.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gb_math.h b/gb_math.h
index 06340e4..c1fa09c 100644
--- a/gb_math.h
+++ b/gb_math.h
@@ -1,8 +1,9 @@
-/* gb_math.h - v0.07 - public domain C math library - no warranty implied; use at your own risk
+/* gb_math.h - v0.07a - public domain C math library - no warranty implied; use at your own risk
A C math library geared towards game development
use '#define GB_MATH_IMPLEMENTATION' before including to create the implementation in _ONE_ file
Version History:
+ 0.07a - Fix Mat2
0.07 - Better Mat4 procedures
0.06h - Ignore silly warnings
0.06g - Remove memzero
@@ -97,7 +98,7 @@ typedef union gbVec4 {
typedef union gbMat2 {
struct { gbVec2 x, y; };
- gbVec4 col[2];
+ gbVec2 col[2];
float e[4];
} gbMat2;